]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: retest metadata across scrub groups after a repair
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:22 +0000 (14:22 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 11:53:50 +0000 (13:53 +0200)
commit98ef0ff4bedfe1f6495fe5ae3944cb35b878229b
treed7810a8a547cf3cb340294b98f5559dfff889ec1
parentdb32c0049b7d33de3d640b0fab55d7c80485bcdd
xfs_scrub: retest metadata across scrub groups after a repair

Certain types of metadata have dependencies that cross scrub groups.
For example, after a repair the part of realtime bitmap corresponding to
a realtime group, we potentially need to rebuild the realtime summary to
reflect the new bitmap contents.  The rtsummary is a separate scrub group
(metafiles) from the rgbitmap (rtgroup), which means that the rtsummary
repairs must be tracked by a separate scrub_item.

Create the necessary dependency table and code to make these kinds of
cross-group validations possible.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
scrub/phase4.c
scrub/repair.c
scrub/repair.h