Whamcloud - gitweb
LU-10212 test: ESTALE read 01/31101/7
authorAlexander Boyko <c17825@cray.com>
Wed, 31 Jan 2018 11:17:42 +0000 (06:17 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Mar 2018 19:13:17 +0000 (19:13 +0000)
commit6e985684b822324143c686e919fe7a75bb16b440
tree98a5afe9a908247f57ecdb35d9d761de575d31e4
parent1a5fdde76ed95743f2d7df5159b075b3ef5af68a
LU-10212 test: ESTALE read

The patch reproduces the issue, when a read rpc come
to OST with a lock handle which has the LDLM_FL_DESTROY
flag. And then a client gets the ESTALE error for a read
operation.

Test-Parameters: trivial testlist=sanity
Signed-off-by: Alexander Boyko <c17825@cray.com>
Cray-bug-id: MRP-4604
Change-Id: I0722fc57a61153b25a05bf7aebce5d7f32bbc95b
Reviewed-on: https://review.whamcloud.com/31101
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Elena Gryaznova <c17455@cray.com>
lustre/include/obd_support.h
lustre/ldlm/ldlm_extent.c
lustre/tests/sanity.sh