]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: allow sysadmin to control background scrubs
authorDarrick J. Wong <djwong@kernel.org>
Thu, 8 Aug 2024 16:38:48 +0000 (09:38 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 8 Aug 2024 16:38:48 +0000 (09:38 -0700)
commit9451b5ee0d0d2d4653b3334ca79c74cdc24e0a4b
treeb1428462cc4644a1ad3c84d282ec4dd99ce08712
parentac69d5ab2889ae00b901a3ce681a39de1b0e449b
xfs_scrub: allow sysadmin to control background scrubs

Add an extended option -o autofsck to xfs_scrub so that it selects the
operation mode from the "autofsck" filesystem property.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
man/man8/xfs_property.8
man/man8/xfs_scrub.8
scrub/phase1.c
scrub/xfs_scrub.c
scrub/xfs_scrub.h