Whamcloud - gitweb
LU-11695 som: disabling xattr cache for LSOM on client 11/33711/2
authorQian Yingjin <qian@ddn.com>
Fri, 23 Nov 2018 08:10:54 +0000 (16:10 +0800)
committerQian Yingjin <qian@ddn.com>
Wed, 30 Mar 2022 02:18:50 +0000 (22:18 -0400)
commit55a65276b8e62f0aa894ee0719051ed8737ab59e
tree0275cfc45ec50f1228dab6b5695286b12f6565fd
parent9884f37985c1108fb8106a5d8615c2c35f3c6a71
LU-11695 som: disabling xattr cache for LSOM on client

To obtain uptodate LSOM data, currently a client needs to set
llite.*.xattr_cache =0 to disable the xattr cache on client
completely. This leads that other kinds of xattr can not be cached
on the client too.
This patch introduces a heavy-weight solution to disable caching
only for LSOM xattr data ("trusted.som") on client.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Iab5ef3030b05ac09184d01f2a3a8ed92ff1cf26b
lustre/llite/xattr.c
lustre/llite/xattr_cache.c
lustre/tests/sanity.sh