Whamcloud - gitweb
LU-17040 scrub: inconsistent item 97/51997/7
authorAlexander Boyko <alexander.boyko@hpe.com>
Thu, 17 Aug 2023 10:03:07 +0000 (06:03 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Oct 2023 18:03:26 +0000 (18:03 +0000)
commit461e3867ea11240c77ccd1bb71a3758506cf882e
treecd67dedea97897129fbc908b035e431ab75ce708
parent2d0e357d219dcab7d60ede5fd3db374adec87a2f
LU-17040 scrub: inconsistent item

When OI does not include the fid, scrub will attempt to
fix it with zero inode number. There is
low chance that fid would be found during full inode
scan. But inode scan requires an empty inconsistent
list. With repeated EINPROGRESS replies, inconsistent list is
always not empty.

Move fid with zero inode numbers to stale list.

1 scrub fix to print real OI resurect and
skip not related
2 out_handle debug for dt_locate() fid failed
3 debug for out requests when it was interrupted

HPE-bug-id: LUS-10780
Signed-off-by: Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: Iad9e9cba90b4648eb0fe8fa6c99984ada60fde70
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51997
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_scrub.c
lustre/osp/osp_trans.c
lustre/target/out_handler.c