Atomic extent swapping for XFS
Atomic extent swapping for XFS
[Kernel] Posted May 1, 2020 18:16 UTC (Fri) by corbet
Normally, files exist in a filesystem to keep data contained within them separated; seeing data exchanged directly between files is often a sign of filesystem corruption. There are, however, use cases where it is desirable to be able to perform a controlled swap of data between a pair of files. Darrick Wong has recently posted a patch set implementing this feature for the XFS filesystem, but also making it available in a general way.