]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: enable extent size hints for CoW operations
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:21:03 +0000 (16:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:14 +0000 (13:06 -0800)
commit8e84e8052bc283ebb37f929eb9fb97483ea7385e
treec75bfcd149b61a40bd169cc370539910aadc59bd
parent4de1a7ba4171db681691bd80506d0cf43c5cb46a
xfs: enable extent size hints for CoW operations

Wire up the copy-on-write extent size hint for realtime files, and
connect it to the rt allocator so that we avoid fragmentation on rt
filesystems.

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