xfs: don't coalesce file mappings that cross rtgroup boundaries in scrub
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:29 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:42 +0000 (13:38 -0800)
commit7333c948c2bc9c6a37450722ee4f052360a29cd8
tree45dd01ab19e1a62e8a41bf7dcc3590f4157d70e1
parentd162491c5459f4dd72e65b72a2c864591668ec07
xfs: don't coalesce file mappings that cross rtgroup boundaries in scrub

The bmbt scrubber will combine file mappings if they are mergeable to
reduce the number of cross-referencing checks.  However, we shouldn't
combine mappings that cross rt group boundaries because that will cause
verifiers to trip incorrectly.

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