]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: hoist scrub retry loop to scrub_item_check_file
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:07 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:45:32 +0000 (18:45 -0700)
commiteb31ae279bb9acc462f1da0e9685c73512778824
tree62160b4a76950ffd50fece386fadb22f0a0eb1be
parent6884231adb5869aa3f025fa13e85303627c9e8f1
xfs_scrub: hoist scrub retry loop to scrub_item_check_file

For metadata check calls, use the ioctl retry and freeze permission
tracking in scrub_item that we created in the last patch.  This enables
us to move the check retry loop out of xfs_scrub_metadata and into its
caller to remove a long backwards jump, and gets us closer to
vectorizing scrub calls.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/scrub.c