]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: remove preen mode
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 12 Feb 2018 21:47:40 +0000 (15:47 -0600)
committerEric Sandeen <sandeen@redhat.com>
Mon, 12 Feb 2018 21:47:40 +0000 (15:47 -0600)
commit1658224d2b5dfb003b336a70adb6b729304973c2
tree132b7f0117c47a9005f48dec8da989dcbfad8934
parentd789af70600f1c494aac9e2edbd8baff002d249d
xfs_scrub: remove preen mode

While it's true that the kernel can tell us whether something needs
repairs or it needs optimizing, from the admin's perspective there's
no point in having an optimize-only mode -- either fix everything, or
don't.  This is what xfs_repair does w.r.t. -n, so let's do the same
thing too.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man8/xfs_scrub.8
scrub/phase1.c
scrub/phase4.c
scrub/scrub.c
scrub/xfs_scrub.c
scrub/xfs_scrub.h