Whamcloud - gitweb
LU-6177 lfsck: calculate the phase2 time correctly 14/14014/6
authorFan Yong <fan.yong@intel.com>
Wed, 8 Apr 2015 13:39:46 +0000 (21:39 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 1 May 2015 03:22:16 +0000 (03:22 +0000)
commit0f4875343e22bcdfe18708806e172aa234da23a6
treeafc7ae5f78d133159c555b1a9c97fe049b970907
parentad40feaee4f58399da8a048fa5342700b8aebc6c
LU-6177 lfsck: calculate the phase2 time correctly

When the second-stage scanning finished, the assistant thread will
calculate how long the phase2 scanning has consumed by calling the
la_double_scan_result(). It should use com->lc_time_last_checkpoint,
(unfortunately it used lfsck->li_time_last_checkpoint by wrong) for
that.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I96cfdf615038f52aea0df33930226155ca61ce9b
Reviewed-on: http://review.whamcloud.com/14014
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_engine.c
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_namespace.c