summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/include/linux/lustre_lite.h
diff options
context:
space:
mode:
authorAndrew Perepechko <andrew_perepechko@xyratex.com>2013-12-03 21:58:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 08:45:29 -0800
commit7fc1f831d83f5abfebab964a6bdbc057ff1205a6 (patch)
treee64d1bcc4947bca97ed962ef5e04d50a1382bf07 /drivers/staging/lustre/lustre/include/linux/lustre_lite.h
parent48d23e612721d7e08dd8b13f5b8fbd12c6f88181 (diff)
staging/lustre/llite: extended attribute cache
This patch implements an extended attribute cache for a Lustre client. It is organized as a write-through cache: reads are performed from cache, updates are sent synchronously to the MDS. An additional inode bit MDS_INODELOCK_XATTR is added to protect the cache. Lustre-change: http://review.whamcloud.com/5537 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2869 Signed-off-by: Andrew Perepechko <andrew_perepechko@xyratex.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> [remove extra GPL notice in original patch as kernel already has one and it causes checkpatch error. -- Peng Tao] Signed-off-by: Peng Tao <bergwolf@gmail.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/linux/lustre_lite.h')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/lustre_lite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/lustre_lite.h b/drivers/staging/lustre/lustre/include/linux/lustre_lite.h
index 9e5df8dabe80..df9391275617 100644
--- a/drivers/staging/lustre/lustre/include/linux/lustre_lite.h
+++ b/drivers/staging/lustre/lustre/include/linux/lustre_lite.h
@@ -88,6 +88,7 @@ enum {
LPROC_LL_ALLOC_INODE,
LPROC_LL_SETXATTR,
LPROC_LL_GETXATTR,
+ LPROC_LL_GETXATTR_HITS,
LPROC_LL_LISTXATTR,
LPROC_LL_REMOVEXATTR,
LPROC_LL_INODE_PERM,