Whamcloud - gitweb
LU-9995 lfsck: keep the LMV_HASH_FLAG_DEAD flag 30/29130/4
authorFan Yong <fan.yong@intel.com>
Tue, 26 Sep 2017 04:41:21 +0000 (12:41 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Oct 2017 03:49:25 +0000 (03:49 +0000)
commit51f4abfa40c0f47453a592a92185c17daae87bd8
treeb31b12407d22d8e20ebff159f4248604514ea292
parent20ffe2191c828d3e4922429f2a98584d4e41eb53
LU-9995 lfsck: keep the LMV_HASH_FLAG_DEAD flag

Since lustre 2.8, the flag LMV_HASH_FLAG_DEAD is not needed, instead
this DEAD and orphan flags will be stored in LMA (see LMAI_ORPHAN).
At that time, we kept such flag for LFSCK to handle the filesystem
upgrading from old release (Lustre-2.7 or older). Lustre-2.11 may
still needs to support the upgrading from Lustre-2.7 (mainly consider
the EE users), we will continuously keep such flag for a while.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I11c1fa5a354d5f244514c10e3ca2c9e952eef975
Reviewed-on: https://review.whamcloud.com/29130
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/include/uapi/linux/lustre/lustre_idl.h