Whamcloud - gitweb
LU-9764 lfsck: reset LFSCK trace file if fail to load it 97/27997/2
authorFan Yong <fan.yong@intel.com>
Wed, 12 Jul 2017 04:50:41 +0000 (12:50 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 14 Jun 2018 03:56:03 +0000 (03:56 +0000)
commit29c8a763fd7de5fd7b4bf154581f08488e8ce50e
tree10fd4146d28b6104e716a97bc171681f509733a5
parentcf29a5e7bfa254ccfcea023028fe7da80503c512
LU-9764 lfsck: reset LFSCK trace file if fail to load it

If the on-disk LFSCK trace file is corrupted, then LFSCK
may get failure when load it. Under such case, the LFSCK
should reset (recreate) the traces files by force.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I0237a88ff23cdec680303ac3976a53c1632598fe
Reviewed-on: https://review.whamcloud.com/27997
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c