]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: trim realtime volumes too
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:40 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:35 +0000 (18:01 -0800)
commitd464c9cfb583060f302a941613431c0e64c1b376
treef709630ba47ce101ee05fdbcc4acb9bafeb16b94
parenta68eb7c7fde165d06e78d2ebd2bdf960b16ffd73
xfs_scrub: trim realtime volumes too

On the kernel side, the XFS realtime groups patchset added support for
FITRIM of the realtime volume.  This support doesn't actually require
there to be any realtime groups, so teach scrub to run through the whole
region.

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