Whamcloud - gitweb
LU-17040 scrub: inconsistent item
authorAlexander Boyko <alexander.boyko@hpe.com>
Thu, 17 Aug 2023 10:03:07 +0000 (06:03 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 27 Oct 2023 21:46:01 +0000 (21:46 +0000)
commit7b15c2f81291617b2794bc374b13874b845f47e6
tree5f299f91cc0660822da01929742679a5810dfa93
parent07732c0185c3d7be85188c260e65f581036b963a
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

Lustre-change: https://review.whamcloud.com/51997
Lustre-commit: 461e3867ea11240c77ccd1bb71a3758506cf882e

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