Whamcloud - gitweb
LU-8969 llite: sanity test_56x read failed: Invalid argument 52/24552/2
authorYang Sheng <yang.sheng@intel.com>
Fri, 30 Dec 2016 21:09:31 +0000 (05:09 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Jan 2017 05:55:50 +0000 (05:55 +0000)
commit2730656aa4d4326e67615e9652c576545403ed15
tree4f6213c11c5cc46f0b359435a533d905ea2623ce
parentf85224433cadbadbd420b5b35e212d66cde03d37
LU-8969 llite: sanity test_56x read failed: Invalid argument

In generic_file_read_iter() does not check EOF before invoke
direct_IO callback. So we have to check it by ourselves.

Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: Ia30d2a42da81beb6c5217f081c18ce4d93553540
Reviewed-on: https://review.whamcloud.com/24552
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/rw26.c