Whamcloud - gitweb
LU-11599 ldlm: printing negative time on logs for recovery 54/33554/2
authorQian Yingjin <qian@ddn.com>
Fri, 2 Nov 2018 08:39:37 +0000 (16:39 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Nov 2018 05:23:32 +0000 (05:23 +0000)
commit3f65f631c74ddf648ae8522f887da9e4edbf4c7d
tree95e1da5058a389993a4fe54da06faa4132469714
parent59729e4c08679061491b47c2adbc5208bbef0e7a
LU-11599 ldlm: printing negative time on logs for recovery

At Lustre recovery, it prints a negative time which is wrong.
"Denying connection for new client ..., waiting for 33 known
clients (32 recovered, 0 in progress, and 0 evicted) to recover
in -1:-11"
This patch adds a judgement whether the recovery deadline has
already passed.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Id832d8dbad694d241cc08156179afedf86c8aac2
Reviewed-on: https://review.whamcloud.com/33554
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ldlm/ldlm_lib.c