]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: use the autofsck fsproperty to select mode
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)
commit7da76e2745d6a742462b588f552538bb9fb9ac6c
treec610d668ce2518363fcb80372d5295d548c7448a
parent9451b5ee0d0d2d4653b3334ca79c74cdc24e0a4b
xfs_scrub: use the autofsck fsproperty to select mode

Now that we can set properties on xfs filesystems, make the xfs_scrub
background service query the autofsck property to figure out which
operating mode it should use.

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