Whamcloud - gitweb
LU-2869 llite: extended attribute cache 37/5537/23
authorAndrew Perepechko <andrew_perepechko@xyratex.com>
Fri, 26 Jul 2013 18:57:21 +0000 (22:57 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 29 Jul 2013 22:48:13 +0000 (22:48 +0000)
commite53d1c18ea9f8c08d55d573e8f0993e582c44c20
tree3db36708a08ac50e08ea791158870a23e5a01e6d
parentb641d44bf4e95b635b031f17392ab4b672ebdb09
LU-2869 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.

Signed-off-by: Andrew Perepechko <andrew_perepechko@xyratex.com>
Xyratex-bug-id: MRP-57
Change-Id: I16aae894a3c2f62448722eeade822ee22b20efa0
Reviewed-on: http://review.whamcloud.com/5537
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.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>
27 files changed:
libcfs/include/libcfs/user-lock.h
libcfs/libcfs/user-lock.c
lustre/include/linux/lustre_lite.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_req_layout.h
lustre/include/md_object.h
lustre/include/obd.h
lustre/include/obd_support.h
lustre/ldlm/ldlm_lock.c
lustre/llite/Makefile.in
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/llite/namei.c
lustre/llite/super25.c
lustre/llite/xattr.c
lustre/llite/xattr_cache.c [new file with mode: 0644]
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_locks.c
lustre/mdd/mdd_device.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_xattr.c
lustre/ptlrpc/layout.c
lustre/tests/sanity.sh
lustre/tests/sanityn.sh