Hi all, This final patchset in the online fsck series enables the background service to optimize filesystems by default. This is the first step towards enabling repairs by default. 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=scrub-optimize-by-default fstests git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=scrub-optimize-by-default --- debian/rules | 2 +- man/man8/xfs_scrub.8 | 6 +++++- scrub/Makefile | 2 +- scrub/phase1.c | 13 +++++++++++++ scrub/phase4.c | 6 ++++++ scrub/repair.c | 37 ++++++++++++++++++++++++++++++++++++- scrub/repair.h | 2 ++ scrub/scrub.c | 4 ++-- scrub/xfs_scrub.c | 21 +++++++++++++++++++-- scrub/xfs_scrub.h | 1 + 10 files changed, 86 insertions(+), 8 deletions(-)