]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: check dependencies of a scrub type before repairing
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:06 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:45:32 +0000 (18:45 -0700)
commitc5425fbe2988379d9327288db8d6fa7dfc10b985
tree7002d7ac050a81137f99f0c34c1dd5e712c47e8c
parent25a83d4d5f2f0f422c3c48d8062c12a2e8ff37a8
xfs_scrub: check dependencies of a scrub type before repairing

Now that we have a map of a scrub type to its dependent scrub types, use
this information to avoid trying to fix higher level metadata before the
lower levels have passed.

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