Whamcloud - gitweb
LU-10961 ldlm: don't cancel DoM locks before replay 91/32791/6
authorMikhail Pershin <mpershin@whamcloud.com>
Thu, 5 Jul 2018 10:18:06 +0000 (13:18 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Sep 2018 16:53:40 +0000 (16:53 +0000)
commitb44b1ff8c7fc50d5b0438926c89c69eb85817168
tree2f2108c2d0a82c5d8d99b1989b7ca1a2e4b58db5
parent3ad2eb7d456167d71bc4c0552e9a44af5e07fae9
LU-10961 ldlm: don't cancel DoM locks before replay

Weigh a DOM locks before lock replay like that is done
for OSC EXTENT locks and don't cancel locks with data.

Add DoM replay tests for file creation and write cases.

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: If706835455c2b25c01cfcde033fccc4f3c67ee24
Reviewed-on: https://review.whamcloud.com/32791
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_osc.h
lustre/mdc/mdc_request.c
lustre/osc/osc_lock.c
lustre/tests/replay-single.sh