summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extfree_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-04 05:19:26 +0100
committerDarrick J. Wong <djwong@kernel.org>2024-11-05 22:38:41 +0100
commitb57283e1a0e919211bfa8a6c4ee0f54517238dc3 (patch)
treefb3c39831b6d3bff5d1fb64ea422ef40757a985f /fs/xfs/xfs_extfree_item.c
parentxfs: store rtgroup information with a bmap intent (diff)
downloadlinux-b57283e1a0e919211bfa8a6c4ee0f54517238dc3.tar.xz
linux-b57283e1a0e919211bfa8a6c4ee0f54517238dc3.zip
xfs: force swapext to a realtime file to use the file content exchange ioctl
xfs_swap_extent_rmap does not use log items to track the overall progress of an attempt to swap the extent mappings between two files. If the system crashes in the middle of swapping a partially written realtime extent, the mapping will be left in an inconsistent state wherein a file can point to multiple extents on the rt volume. The new file range exchange functionality handles this correctly, so all callers must upgrade to that. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_extfree_item.c')
0 files changed, 0 insertions, 0 deletions