Whamcloud - gitweb
LU-11762 ldlm: don't exceed hard timeout 08/34408/9
authorJames Simmons <jsimmons@infradead.org>
Thu, 4 Jul 2019 16:47:09 +0000 (12:47 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Jul 2019 05:20:38 +0000 (05:20 +0000)
commit8bfe8939d810f5ac16484d3d4b81f829c7d7d0d7
tree45529238ea467be922a9dc44de5b60daca1c32cc
parent709fbe6ee54aa2e601237a6981db3d42a8a719cd
LU-11762 ldlm: don't exceed hard timeout

For recovery lustre has both a soft timeout, obd_recovery_timeout
and a hard timeout, obd_recovery_time_hard. When the recovery
timer is adjust with the function extend_recovery_timer() you
can control if it takes in consideration what is left of the
timer. The current code is not very clear on its intent so this
patch attempts to make the code understandable. No function
change should happen with this patch.

Change-Id: I5701a6cd813ad64b6b4422863767af135eb8e94b
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/34408
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sergey Cheremencev <c17829@cray.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_lib.c