Whamcloud - gitweb
LU-169 lov: add basic infrastructure for layout lock
authorJohann Lombardi <johann@whamcloud.com>
Tue, 10 Jan 2012 16:41:26 +0000 (17:41 +0100)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Jan 2012 23:24:26 +0000 (18:24 -0500)
commit34cf5628b02ba7f68ce539bcaa7f8bba46fe047c
treecb845585591555a7b95de13ed169d0688ab0e1ae
parentd4a913c01f86ed080aebd5ce0c262483ad187949
LU-169 lov: add basic infrastructure for layout lock

This patch adds some basic infrastructure to support the layout lock
in a near future. This includes defining a new inode lock bit to lock
the file layout (namely MDS_INODELOCK_LAYOUT) as well as a new lookup
intent (IT_LAYOUT).

Signed-off-by: Jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Change-Id: Ibf1c3c166b5def4654684febbcf3a99ea7e482eb
Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1854
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
15 files changed:
lustre/include/liblustre.h
lustre/include/lustre/lustre_idl.h
lustre/include/obd.h
lustre/ldlm/ldlm_lock.c
lustre/liblustre/llite_lib.h
lustre/llite/llite_lib.c
lustre/llite/rw26.c
lustre/lmv/lmv_intent.c
lustre/mdc/mdc_locks.c
lustre/mdt/mdt_handler.c
lustre/obdclass/obdo.c
lustre/obdfilter/filter.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c