Whamcloud - gitweb
LU-6420 lfsck: misc patch to avoid unexpected repairing 32/14332/7
authorFan Yong <fan.yong@intel.com>
Tue, 14 Apr 2015 01:45:35 +0000 (09:45 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 30 May 2015 02:42:57 +0000 (02:42 +0000)
commitcb7da2d4c0241f52dec5e05c57847ad6cd0dbb83
treee55aa46136941edd4b455c18c9fca9165f721ca9
parent5e7082318fb078b1b7830a592ffd3564324e15d2
LU-6420 lfsck: misc patch to avoid unexpected repairing

It contains several fixes, including:

1) Generate D_LFSCK debug log only when the inconsistency needs
   to be repaired (or failed to be repaired).

2) If the OST-object's PFID EA has not been initialized, then
   not handle it as inconsistency.

3) Other fixes.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I3124ec6fa66c242b2cd8ebbf0fa99b2dc6f022a6
Reviewed-on: http://review.whamcloud.com/14332
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_layout.c
lustre/target/out_handler.c