]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: enable extent size hints for CoW operations
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:40:30 +0000 (12:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:47:11 +0000 (13:47 -0700)
commitac24fceb11c0c90090811dd2c691e2fb6ef8705c
tree7bf289ee4b749f56c00fcaa1ac3143a7336950d5
parent597300e501c7e555f6a475d829782727aa24e12b
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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/xfs_rtalloc.c