]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: make file range exchange support realtime files
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:36 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:00:59 +0000 (17:00 -0700)
commit378e94fc56178dd2fdcadcca9ef57d161091d590
tree05d8d17daab5419bde52ca45de29483e08ffcd35
parent6898c1eb181102ef1d580ee9d390182e77ef3a0f
xfs: make file range exchange support realtime files

Source kernel commit: e62941103faa2eedba6a155316e059a490c743a6

Now that bmap items support the realtime device, we can add the
necessary pieces to the file range exchange code to support exchanging
mappings.  All we really need to do here is adjust the blockcount
upwards to the end of the rt extent and remove the inode checks.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/xfs_inode.h
libxfs/xfs_exchmaps.c