Whamcloud - gitweb
LU-8930 lfsck: sync failure with others no check LF_INCOMPLETE 00/24900/2
authorFan Yong <fan.yong@intel.com>
Wed, 28 Sep 2016 02:32:43 +0000 (10:32 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 26 Mar 2017 06:50:03 +0000 (06:50 +0000)
commit8276b394d14d405bc68e86a21111ca45175a1749
tree249ac66805dae338530b2da244268aec64bf34a9
parentf519ec213874cedc3a07f8a47d87eac3a6279a82
LU-8930 lfsck: sync failure with others no check LF_INCOMPLETE

During the first stage scanning, if the MDT has ever failed to
verfiy some OST-objects (related OSTs inaccessable temporarily
because of network trouble or OSTs restart), it needs to sync
failures with other MDTs at the end of the first stage scanning
to avoid improper repairing in the second stage scanning. Such
sync failure should be done even if the "LF_INCOMPLETE" is set
locally, otherwise, other MDTs may have no chance to know that.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I8466d8560b5d5070873f10746189fd82bf6f0172
Reviewed-on: https://review.whamcloud.com/24900
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_layout.c