Whamcloud - gitweb
LU-11695 som: disabling xattr cache for LSOM on client
authorQian Yingjin <qian@ddn.com>
Fri, 23 Nov 2018 08:10:54 +0000 (16:10 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 29 Jun 2022 19:10:32 +0000 (19:10 +0000)
commit66ec562dd360f9c0c8ddc54fc9ad3e3eab6f4a51
tree0ff63831c142c3d09414df36069249bb20274f55
parentcdd499f7c9279c288b466179450e464ef4d51521
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.

Lustre-change: https://review.whamcloud.com/33711/
Lustre-commit: TBD (from 55a65276b8e62f0aa894ee0719051ed8737ab59e)

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Iab5ef3030b05ac09184d01f2a3a8ed92ff1cf26b
Reviewed-on: https://review.whamcloud.com/47813
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/xattr.c
lustre/llite/xattr_cache.c
lustre/tests/sanity.sh