]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: ignore phase 8 if the user disabled fstrim
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:11 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:45:33 +0000 (18:45 -0700)
commit4308939ad8c75466374aed4648951f490e6f26c2
treedbb60b72c24b9b732f92d1a9482b934931131ec6
parent4a1a9acf1af3766b2b3f35c009e1b17df79aba74
xfs_scrub: ignore phase 8 if the user disabled fstrim

If the user told us to skip trimming the filesystem, don't run the phase
at all.

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