]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub_all: fail fast on masked units
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:18 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:10 +0000 (17:01 -0700)
commite17a7b1fefb2cc4078d58dc6dfb4061d973c21f1
treeb6625f928c5053f6e7b066e648f8d3e87305e518
parente46249ec0b96ac5ced5b49928d3b3865b6d9546c
xfs_scrub_all: fail fast on masked units

If xfs_scrub_all tries to start a masked xfs_scrub@ unit, that's a sign
that the system administrator really didn't want us to scrub that
filesystem.  Instead of retrying pointlessly, just make a note of the
failure and move on.

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