Whamcloud - gitweb
LU-3531 llite: move dir cache to MDC layer 43/7043/26
authorwang di <di.wang@intel.com>
Thu, 21 Nov 2013 08:00:04 +0000 (00:00 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 7 Jan 2014 16:22:30 +0000 (16:22 +0000)
commit4e0c8aeb9460e20eb7be9011c24edca35e17340d
tree796aeef577121c5c0d7dbacf632a3094e52e9145
parent69b34f1a015ee0ffabf4c6477f9d681608aa5af6
LU-3531 llite: move dir cache to MDC layer

Move directory entries cache from llite to MDC, so client
side dir stripe will use independent hash function(in LMV),
which does not need to be tightly coupled with the backend
storage dir-entry hash function. With striped directory, it
will be 2-tier hash, LMV calculate hash value according to the
name and hash-type in layout, then each MDT will store these
entry in disk by its own hash.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I14bb6bd81aad6fd59dcc22cf4bcea9d341dca2a1
Reviewed-on: http://review.whamcloud.com/7043
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
28 files changed:
lustre/include/Makefile.am
lustre/include/lclient.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_lite.h
lustre/include/lustre_lmv.h [new file with mode: 0644]
lustre/include/obd.h
lustre/include/obd_class.h
lustre/liblustre/dir.c
lustre/liblustre/llite_lib.h
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_nfs.c
lustre/llite/statahead.c
lustre/lmv/lmv_internal.h
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_request.c
lustre/obdclass/Makefile.in
lustre/obdclass/autoMakefile.am
lustre/obdclass/lprocfs_status.c
lustre/obdclass/mea.c [deleted file]
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c