Whamcloud - gitweb
LU-8998 pfl: layout LFSCK handles PFL file
authorFan Yong <fan.yong@intel.com>
Thu, 6 Apr 2017 00:07:12 +0000 (08:07 +0800)
committerJinshan Xiong <jinshan.xiong@intel.com>
Thu, 6 Apr 2017 04:53:00 +0000 (21:53 -0700)
commite2cdf469b0224e631e7d86046a2de5d92e80b7ca
treeb4e2a4b064d841a0de0c9c7bc8331f1321ca3535
parentdb5661e8aad397317f4a0763655ffc0164956097
LU-8998 pfl: layout LFSCK handles PFL file

Enhance the layout LFSCK logic to handle the PFL file,
including all the inconsistent cases corresponding to
the non-PFL file cases. In addition, for PFL file, the
LFSCK can also verify and recover the PFL extent range.

Reviewed-on: https://review.whamcloud.com/24883

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Iec5ac57fd556330130e33f187c6fbf8cc24e67b8
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/include/lustre_lfsck.h
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c
lustre/obdclass/dt_object.c
lustre/obdclass/lu_object.c
lustre/tests/sanity-lfsck.sh