Whamcloud - gitweb
LU-11762 ldlm: ensure the recovery timer is armed 27/35627/4
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 10 Jul 2019 08:22:15 +0000 (04:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 01:06:46 +0000 (01:06 +0000)
commitfe5c801657f9ddb5e148bb6076e476df6ba31bba
treed02a26d734047d5736ccfdbef35dc57fef6b3989
parent91d2645515087df3f912b285419cfff73d9fca9e
LU-11762 ldlm: ensure the recovery timer is armed

During recovery, when the recovery timer is expired, the VBR phase
is initiated only the current recovery timeout is less than the hard
recovery timeout, or it will be stuck in the "wait_event_timeout()"
because there is no timer and it can't be waked up.

Change-Id: I32467afa45393e37f255e2b14f160c9da710461b
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35627
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_lib.c