Whamcloud - gitweb
LU-17280 scrub: skip dir stripes with OI 78/53078/2
authorAlexander Boyko <alexander.boyko@hpe.com>
Wed, 8 Nov 2023 10:32:55 +0000 (05:32 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 Nov 2023 21:37:50 +0000 (21:37 +0000)
commit57217b7e4e5e8fc63dc948bdbb6b3227997abe5f
tree7bfe6f9359f8f79d29b9f8f9a129071a36cefb81
parent698498b56324e515d3518ba59a15a4c85da8d148
LU-17280 scrub: skip dir stripes with OI

After fresh mount and LFSCK start all directory stripes
are added to inconsistent list. So scrub for all stripes
would print LFSCK message "inconsistent OI FID...fixed.
Lets check FID to OI mapping before adding to inconsistent
list.

Also fixing additional debug for scrub.

HPE-bug-id: LUS-11777
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I869f1cf71eb6c10f386a3f388a38032c73d2b41a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53078
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lfsck/lfsck_namespace.c
lustre/lfsck/lfsck_striped_dir.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_scrub.c