Hi all, Now that we have the ability to set per-filesystem properties, teach the background xfs_scrub service to pick up advice from the filesystem that it wants to examine, and pick a mode from that. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. This has been running on the djcloud for months with no problems. Enjoy! Comments and questions are, as always, welcome. --D xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=self-healing --- Commits in this patchset: * libfrog: define a self_healing filesystem property * xfs_scrub: allow sysadmin to control background scrubs * mkfs: set self_healing property --- libfrog/fsproperties.c | 38 +++++++++++++++ libfrog/fsproperties.h | 13 +++++ man/man8/mkfs.xfs.8.in | 6 ++ man/man8/xfs_scrub.8 | 44 +++++++++++++++++ mkfs/lts_4.19.conf | 1 mkfs/lts_5.10.conf | 1 mkfs/lts_5.15.conf | 1 mkfs/lts_5.4.conf | 1 mkfs/lts_6.1.conf | 1 mkfs/lts_6.6.conf | 1 mkfs/xfs_mkfs.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++++ scrub/phase1.c | 81 ++++++++++++++++++++++++++++++++ scrub/xfs_scrub.c | 14 ++++++ scrub/xfs_scrub.h | 7 +++ 14 files changed, 330 insertions(+), 1 deletion(-)