]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: try to use XFS_SCRUB_IFLAG_FORCE_REBUILD
authorDarrick J. Wong <djwong@kernel.org>
Wed, 20 Dec 2023 16:53:47 +0000 (08:53 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 22 Dec 2023 02:29:14 +0000 (18:29 -0800)
commitc2371fdd0ffeecb407969ad3e4e1d55f26e26407
treecf8d5f3a77d9cb2af73707427dc19357756eb2c4
parent61060062b5523ca60b22f21a69658364bc9e7b20
xfs_scrub: try to use XFS_SCRUB_IFLAG_FORCE_REBUILD

Now that we have a FORCE_REBUILD flag to the scrub ioctl, try to use
that over the (much noisier) error injection knob, which may or may not
even be enabled in the kernel config.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/phase1.c
scrub/scrub.c
scrub/scrub.h
scrub/xfs_scrub.c
scrub/xfs_scrub.h