]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: don't merge ioends across RTGs
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 21:05:26 +0000 (14:05 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:14 +0000 (13:36 -0800)
commitf720f0def1528b353f379120cf4faf115fec8d8f
tree94c2348a6421a4d6b2dc774453add53fc2a8aaff
parent473c7165241041f3fdeb1238ac52281367c3bbd3
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