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>
#define LFSCK_LAYOUT_MAGIC_V1 0xB173AE14
#define LFSCK_LAYOUT_MAGIC_V2 0xB1734D76
+#define LFSCK_LAYOUT_MAGIC_V3 0xB17371B9
-#define LFSCK_LAYOUT_MAGIC LFSCK_LAYOUT_MAGIC_V2
+#define LFSCK_LAYOUT_MAGIC LFSCK_LAYOUT_MAGIC_V3
struct lfsck_layout_seq {
struct list_head lls_list;