xfs: introduce a file mapping exchange log intent item
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:16 +0000 (14:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:16 +0000 (14:54 -0700)
commit6c08f434bd33f88cf169e9e43c7a5e42fb3f2118
tree696ffc1d531dbd3ede335c457ba2f7689b65c237
parent1518646eef26c220e9256906260ecaaa64503522
xfs: introduce a file mapping exchange log intent item

Introduce a new intent log item to handle exchanging mappings between
the forks of two files.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/Makefile
fs/xfs/libxfs/xfs_log_format.h
fs/xfs/libxfs/xfs_log_recover.h
fs/xfs/xfs_exchmaps_item.c [new file with mode: 0644]
fs/xfs/xfs_exchmaps_item.h [new file with mode: 0644]
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_super.c