Whamcloud - gitweb
LU-13692 ldlm: Ensure we reprocess the resource on ast error 12/40412/5
authorOleg Drokin <green@whamcloud.com>
Fri, 7 Aug 2020 07:38:51 +0000 (03:38 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Nov 2020 20:09:11 +0000 (20:09 +0000)
commitd3dfcba36ea04809d09d38ccd97da053be85404c
tree6673491f22cea3563cbcda708931847021eee222
parent4ddd1965a6a8c5bbdc04ac26ace09ba6e32bee34
LU-13692 ldlm: Ensure we reprocess the resource on ast error

When we are trying to grant a lock and met an AST error, rerunning
the policy is pointless since it cannot grant a potentially now eligible
lock and our lock is already in all the queues, just be like all the other
handlers for ERESTART return and run a full resource reprocess instead.

Lustre-change: https://review.whamcloud.com/#/c/39598/
Lustre-commit: 24e3b5395bc61333a32b1e9725a0d7273925ef05

Change-Id: I3edb37bf084b2e26ba03cf2079d3358779c84b6e
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/40412
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ldlm/ldlm_lock.c