Whamcloud - gitweb
LU-13692 ldlm: Ensure we reprocess the resource on ast error 98/39598/8
authorOleg Drokin <green@whamcloud.com>
Fri, 7 Aug 2020 07:38:51 +0000 (03:38 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Oct 2020 04:37:56 +0000 (04:37 +0000)
commit24e3b5395bc61333a32b1e9725a0d7273925ef05
tree1dcaad6faacf1cc9d5c61215e7bfb6a8b24a5385
parent5da99051e58b9e9079b66a275d6c47e1e109eee5
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.

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