Whamcloud - gitweb
LU-9771 clio: introduce CIT_GLIMPSE for glimpse 82/29082/7
authorJinshan Xiong <jinshan.xiong@intel.com>
Fri, 15 Sep 2017 19:53:50 +0000 (19:53 +0000)
committerJinshan Xiong <jinshan.xiong@intel.com>
Thu, 16 Nov 2017 02:54:13 +0000 (02:54 +0000)
commitd8638fd870ecbedf4d104e7c3e0bf26124bec326
tree89f4d2928109dc0ed09fb7835b4c76d3d19c94ae
parent9b74a75ecbdccb084eb6a747dfda78c6fb7ef176
LU-9771 clio: introduce CIT_GLIMPSE for glimpse

It turned out that it's better to have a standaline I/O context
for glimpse request. In that case, it's easier for glimpse to try
a new mirror if the current one is out of access.

Another problem in this patch is to zero cl_io data structure if
the I/O starts from OSC layer.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Ieeac36d4af38bc04a01affb9e6d3d129bceeb74e
Reviewed-on: https://review.whamcloud.com/29082
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/include/cl_object.h
lustre/llite/glimpse.c
lustre/llite/vvp_io.c
lustre/lov/lov_io.c
lustre/obdclass/cl_io.c
lustre/osc/osc_cache.c
lustre/osc/osc_internal.h
lustre/osc/osc_lock.c
lustre/osc/osc_page.c