Whamcloud - gitweb
LU-9334 lfsck: reset trace file for upgrade case 18/26718/2
authorFan Yong <fan.yong@intel.com>
Tue, 29 Nov 2016 17:19:03 +0000 (01:19 +0800)
committerJinshan Xiong <jinshan.xiong@intel.com>
Tue, 18 Apr 2017 17:34:05 +0000 (17:34 +0000)
commitba4a83aa9f72d7855ff77a37897619155313b198
tree1be59a7403f829bbc3f84db141cc92776dd2fa38
parente62a57f86027582c8c9b56a7d3d348fb38510f4b
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/26718
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/lfsck/lfsck_layout.c