]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: use the self_healing fsproperty to select mode
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 18:02:51 +0000 (11:02 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:12:40 +0000 (17:12 -0700)
commit12e7e8f4ead9920b1347e071c48415d9ddd59d41
tree9e62e440cb0c9e8bad1d6dbcab8b8b297a36224c
parentb63e2191f066841000766f92c768721170e56689
xfs_scrub: use the self_healing fsproperty to select mode

Now that we can set properties on xfs filesystems, make the xfs_scrub
background service query the self_healing property to figure out which
mode (dry run, optimize, repair, none) it should use.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
scrub/Makefile
scrub/xfs_scrub@.service.in
scrub/xfs_scrub_media@.service.in