Whamcloud - gitweb
LU-9499 lfsck: set target bitmap properly 18/28518/2
authorFan Yong <fan.yong@intel.com>
Wed, 14 Jun 2017 07:48:56 +0000 (15:48 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 6 Sep 2017 16:31:38 +0000 (16:31 +0000)
commit80a80717215e2c4674f93571cbe0564dd4e987a5
tree9bf563e1510ab121526fe72e09c51af204cba02d
parent9785fb53d0c939b2d94a69a580bdf0b6d968a25e
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.

Lustre-change: https://review.whamcloud.com/27632
Lustre-commit: 775780cb90ba6069aefc7063adfe6862b26ce935

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I3a6195136d608aa47e59e61f95c92978503e3a4b
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28518
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c