Whamcloud - gitweb
LU-11762 ldlm: don't exceed hard timeout 36/36936/2
authorJames Simmons <jsimmons@infradead.org>
Thu, 4 Jul 2019 16:47:09 +0000 (12:47 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 3 Jan 2020 23:41:35 +0000 (23:41 +0000)
commitbc27e0f6efbdbd256c6459d15391754ce1b36d32
tree8a4cd9507b4bed042b7634025df61db7d6432ef7
parentc207b3cb9b49e3c8026e63173a92ee6231f8eb5f
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.

Lustre-change: https://review.whamcloud.com/34408
Lustre-commit: 8bfe8939d810f5ac16484d3d4b81f829c7d7d0d7

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