Whamcloud - gitweb
LU-3285 mdt: IO request handling in MDT 13/28013/19
authorMikhal Pershin <mike.pershin@intel.com>
Mon, 7 Dec 2015 10:19:00 +0000 (13:19 +0300)
committerMike Pershin <mike.pershin@intel.com>
Tue, 17 Oct 2017 19:08:08 +0000 (19:08 +0000)
commit2bcc5ad0ed6a440e15233b454191e7f66fcb1921
treee0f74805f5116e12525154d54ec26d82bdddb212
parent6744eb8eeb9e0a7a745a9a42e5fe09b376e16a82
LU-3285 mdt: IO request handling in MDT

Add methods to handle IO requests in MDT similar to OFD.
Introduce MDS_INODEBITS_DOM bit for data on MDT, destinguish
IO requests to MDT and OST and take appropriate lock in
target code.

Change-Id: I7feaa00c381f821510ca1343b042ed5f09050ac6
Signed-off-by: Mikhal Pershin <mike.pershin@intel.com>
Reviewed-on: https://review.whamcloud.com/28013
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
14 files changed:
lustre/include/lu_target.h
lustre/include/lustre_osc.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/llite_lib.c
lustre/mdc/mdc_request.c
lustre/mdt/Makefile.in
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_io.c [new file with mode: 0644]
lustre/mdt/mdt_lproc.c
lustre/mdt/mdt_mds.c
lustre/osc/osc_request.c
lustre/osd-zfs/osd_object.c
lustre/target/tgt_handler.c