]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: don't merge ioends across RTGs
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Sep 2024 20:41:34 +0000 (13:41 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 13:55:41 +0000 (15:55 +0200)
commit16962f55b72e55e1da9687ad7d8718bbedd1b23c
treef8ea87a9b6c26c4a1b90c61ff777a2aa247e02a6
parentbc33bf9001536dce906909ee44832c5e415fc221
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/xfs_iomap.c