Whamcloud - gitweb
LU-9499 lfsck: set target bitmap properly 32/27632/2
authorFan Yong <fan.yong@intel.com>
Wed, 14 Jun 2017 07:48:56 +0000 (15:48 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 13 Aug 2017 17:18:22 +0000 (17:18 +0000)
commit775780cb90ba6069aefc7063adfe6862b26ce935
tree6f1aba171a7c32a9be88b9318b0acdd5f5877bbe
parent75b426f9f9d3f21e08cd1e62b7fa4962a2b8c679
LU-9499 lfsck: set target bitmap properly

If the notify from the peer server has LF_INCOMPLETE flags,
then record it in the target bitmap unconditionally to avoid
missing to update the bitmap for some corner cases.

This patch also addes more debug information when the LFSCK
updates the bitmap and handle double_scan_result.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I3a6195136d608aa47e59e61f95c92978503e3a4b
Reviewed-on: https://review.whamcloud.com/27632
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c