Whamcloud - gitweb
LU-9334 lfsck: reset trace file for upgrade case 16/26716/7
authorFan Yong <fan.yong@intel.com>
Fri, 2 Dec 2016 20:44:27 +0000 (04:44 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 28 Apr 2017 20:36:38 +0000 (20:36 +0000)
commitb3e30f49d3947c63b56274657a5c55af9ba85a2d
tree56d5d1abf5809ddbf5b6a03b716b246c8846e443
parent68d19d5a0a772a002054d516f99464db4a478556
LU-9334 lfsck: reset trace file for upgrade case

With PFL introduced, the layout LFSCK on-disk trace file
will be changed, that is incompatibile with non-PFL case.
Use new layout LFSCK trace file magic for FPL case, that
will reset the layout LFSCK on-disk trace files for when
upgrade from non-PFL case.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Id3b3fa4a89e5a408700653d8b759b76626c78912
Reviewed-on: https://review.whamcloud.com/26716
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/lfsck/lfsck_layout.c