]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: don't merge ioends across RTGs
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:28 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:42 +0000 (13:38 -0800)
commitb91afef724710e3dc7d65a28105ffd7a4e861d69
tree94c2348a6421a4d6b2dc774453add53fc2a8aaff
parent44e69c9af159e61d4f765ff4805dd5b55f241597
xfs: don't merge ioends across RTGs

Unlike AGs, RTGs don't always have metadata in their first blocks, and
thus we don't get automatic protection from merging I/O completions
across RTG boundaries.  Add code to set the IOMAP_F_BOUNDARY flag for
ioends that start at the first block of a RTG so that they never get
merged into the previous ioend.

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