Whamcloud - gitweb
LU-9771 flr: read support for flr 85/29085/12
authorJinshan Xiong <jinshan.xiong@intel.com>
Fri, 15 Sep 2017 20:32:06 +0000 (20:32 +0000)
committerJinshan Xiong <jinshan.xiong@intel.com>
Fri, 17 Nov 2017 08:00:36 +0000 (08:00 +0000)
commit526dbd3d87231b5d0b2b32eb942bf75692f21607
tree5e0112470db5257a07b9bafeb22c99346a1d32fb
parentce61bcac8661e08ffa2a6ec4b9782f11cd3388c6
LU-9771 flr: read support for flr

Avoid stale mirrors to read;
If preferred mirror is inaccessible, try next one, ndelay RPC
is implemented to make the error-out quick. ndelay RPC has
rq_no_delay bit set that can be applied to brw and lock RPC.

Test-Parameters: testlist=sanity-flr
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I52143079edd1566ecb3a734ed88dab19f882c2fc
Reviewed-on: https://review.whamcloud.com/29085
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
25 files changed:
lustre/include/cl_object.h
lustre/include/lustre_dlm_flags.h
lustre/include/lustre_osc.h
lustre/include/obd_support.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ldlm/ldlm_request.c
lustre/llite/file.c
lustre/llite/glimpse.c
lustre/llite/rw.c
lustre/llite/vvp_internal.h
lustre/llite/vvp_io.c
lustre/llite/vvp_page.c
lustre/lov/lov_cl_internal.h
lustre/lov/lov_io.c
lustre/lov/lov_lock.c
lustre/lov/lov_object.c
lustre/lov/lov_page.c
lustre/obdclass/cl_io.c
lustre/osc/osc_cache.c
lustre/osc/osc_io.c
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/tests/rwv.c
lustre/tests/sanity-flr.sh
lustre/tests/test-framework.sh