Whamcloud - gitweb
LU-3285 mds: add IO locking to the MDC and MDT 18/28018/25
authorMikhal Pershin <mike.pershin@intel.com>
Wed, 9 Dec 2015 13:08:53 +0000 (16:08 +0300)
committerMike Pershin <mike.pershin@intel.com>
Tue, 17 Oct 2017 20:02:07 +0000 (20:02 +0000)
commit4f35c341f22b06b6c15a4af763e49b1e05f0dff9
tree0b8a46732f406922eaf9575a4200a4d9278ddc92
parent978428ed047602a311f016fe7f4cf7d21f5599b6
LU-3285 mds: add IO locking to the MDC and MDT

- introduce new DOM inodebit for Data-on-MDT files.
- add IO lock and glimpse handling at MDT along with
needed LVB updates for it.
- a MDC is updated to exclude DOM bit from ELC and to
handle LVB changes due to glimpse on MDT.
- add CLIO locking at MDC, it uses IBITS lock to protect
data at MDT and a MDC handles such locks to convert them
into proper CLIO locks.

Signed-off-by: Mikhal Pershin <mike.pershin@intel.com>
Change-Id: Id95c7a5db814b399c961a5364af33d2bf5798055
Reviewed-on: https://review.whamcloud.com/28018
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
28 files changed:
lustre/include/lustre_dlm.h
lustre/include/lustre_dlm_flags.h
lustre/include/lustre_osc.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_reint.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_io.c
lustre/mdt/mdt_lvb.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_dlm.c
lustre/ofd/ofd_internal.h
lustre/osc/osc_cache.c
lustre/osc/osc_internal.h
lustre/osc/osc_io.c
lustre/osc/osc_lock.c
lustre/osc/osc_object.c
lustre/osc/osc_request.c