]> 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>
Sun, 11 Aug 2024 06:35:55 +0000 (08:35 +0200)
commit639628155642af348bca97dff2bc4dc770f21f5c
treea847d7b2192e7c88c9eeae7253c32dab4b6e4424
parentf99e72755101072840c2b217c31968423fe7e179
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