]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_fsr: skip the xattr/forkoff levering with the newer swapext implementations
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:00 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:06 +0000 (17:01 -0700)
commit63ea34b8f00c4b86115b770fdab487e9157d712b
treed6874859ecc20786890c5020c355a33de06c987d
parent3aed066cf1ede15b5569add840c5b86bdc78143e
xfs_fsr: skip the xattr/forkoff levering with the newer swapext implementations

The newer swapext implementations in the kernel run at a high enough
level (above the bmap layer) that it's no longer required to manipulate
bs_forkoff by creating garbage xattrs to get the extent tree that we
want.  If we detect the newer algorithms, skip this error prone step.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fsr/xfs_fsr.c