Whamcloud - gitweb
LU-169 clio: restart clio operations if layout changes
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Mon, 18 Jun 2012 10:36:11 +0000 (18:36 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Jul 2012 17:40:48 +0000 (13:40 -0400)
commitb14160d67ef3fc5b0d294c8d76c20317a05cda8c
tree800de145281c98a2f6283d6094f0cb41479f4713
parent2989b9dab9e87529ccadfc5711960b71e5e57b18
LU-169 clio: restart clio operations if layout changes

For glimpse and setattr operations, the layout may change as they may
not open file while running, so we need to restart these operations
in case layout is changed during the IO time.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: Ia7ba1829164259e06af342be3f94e654ed0f89b8
Reviewed-on: http://review.whamcloud.com/2026
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
13 files changed:
lustre/include/cl_object.h
lustre/include/lclient.h
lustre/lclient/glimpse.c
lustre/lclient/lcommon_cl.c
lustre/lclient/lcommon_misc.c
lustre/llite/file.c
lustre/llite/rw.c
lustre/llite/vvp_io.c
lustre/obdclass/cl_io.c
lustre/obdclass/cl_lock.c
lustre/obdclass/cl_page.c
lustre/obdecho/echo_client.c
lustre/osc/osc_lock.c