Whamcloud - gitweb
LU-7446 clio: lov_io_init() should return error code 40/17240/4
authorBobi Jam <bobijam.xu@intel.com>
Fri, 13 Nov 2015 10:48:53 +0000 (18:48 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 10 Dec 2015 17:47:43 +0000 (17:47 +0000)
commit5e2d95667d8faa9fc9e48b7326e37a756a132121
treed38ec581a2474e0d408e80fe3bb4f122569d9558
parent05300cbf466d97368b00b49d57839186e5662687
LU-7446 clio: lov_io_init() should return error code

lov_io_init_empty/release() should returns error code instead of
true on error case.

Fault IO need handle restart in the case of accessing HSM released
file.

Add a test case.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I4953c12c1e9b82a16aed9b8b1e3fe6e38d783b24
Reviewed-on: http://review.whamcloud.com/17240
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_mmap.c
lustre/lov/lov_io.c
lustre/obdclass/cl_io.c
lustre/tests/Makefile.am
lustre/tests/mmap_cat.c [new file with mode: 0644]
lustre/tests/sanity-hsm.sh