Whamcloud - gitweb
LU-11695 som: disabling xattr cache for LSOM on client 11/33711/3
authorQian Yingjin <qian@ddn.com>
Fri, 23 Nov 2018 08:10:54 +0000 (16:10 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 06:48:53 +0000 (06:48 +0000)
commit192902851d73ec246af92a2ff7be8f23b08c4343
tree3fbd59065627068bd9817b3b1d1a304a9c05f9dd
parent9e25e70d78f3f5fdb7489f4f9841b0931927f10c
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
Reviewed-on: https://review.whamcloud.com/33711
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/xattr.c
lustre/llite/xattr_cache.c
lustre/tests/sanity.sh