Whamcloud - gitweb
LU-6389 llite: restart short read/write for normal IO 23/14123/21
authorBobi Jam <bobijam.xu@intel.com>
Fri, 20 Mar 2015 09:58:30 +0000 (17:58 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 May 2015 22:50:01 +0000 (22:50 +0000)
commit8badb39913b5e1c614d2fe410ef7200391099855
tree4753b79929e32fe371186a813bbfb2af86faab1b
parent11e22ba171625ec32a82deb9b41a6e8347fe17ff
LU-6389 llite: restart short read/write for normal IO

If normal IO got short read/write, we'd restart the IO from where
we've accomplished until we meet EOF or error happens.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I4582affe8d2030df669b6e22b598b0c321e81466
Reviewed-on: http://review.whamcloud.com/14123
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/libcfs/fail.c
lustre/include/obd_support.h
lustre/llite/file.c
lustre/llite/vvp_io.c
lustre/tests/sanity.sh