Whamcloud - gitweb
LU-687 clio: retry if fault page was truncated
authorJinshan Xiong <jay@whamcloud.com>
Wed, 5 Oct 2011 05:54:48 +0000 (22:54 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Oct 2011 23:29:01 +0000 (19:29 -0400)
commitb801d865eb36890b98f3186727d0bf77313273f1
treefaa1d4240e3ba7c220b1031f3426e03ad67c5ae6
parent886e67d4fe87d293952a11e7f41b98a8c3abeddd
LU-687 clio: retry if fault page was truncated

In vvp_io_fault_start, if a page was truncated we should retry it in
ll_fault() instead of return -EFAULT because it will cause fake OOM.

Change-Id: Ia2ba40ca4ecd67170e6c2eb81ddc0ee34d9379a8
Signed-off-by: Jinshan Xiong <jay@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1453
Tested-by: Hudson
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/llite/llite_mmap.c
lustre/llite/vvp_io.c
lustre/tests/sanity.sh