btrfs-progs: docs: update reflink cross-mount constraint

Mention the version support for the cross-mount support, since 5.18.

Author: AtticFinder65536
Pull-request: #480
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
AtticFinder65536 2022-06-16 20:56:56 +10:00 committed by David Sterba
parent feef6aaaf6
commit f70ca45961
2 changed files with 10 additions and 2 deletions

View File

@ -410,6 +410,10 @@ features see [[Status]] page.
The support for ioctl BTRFS_IOC_BALANCE has been removed, superseded by
BTRFS_IOC_BALANCE_V2m long time ago
5.18 - *cross-mount reflink works*
the VFS limitation to reflink files on separate subvolume mounts of the
same filesystem has been removed
5.19 - subpage support pages > 4KiB
Metadata node size is supported regardless of the CPU page size
(minimum size is 4KiB), data sectorsize is supported <= page size.

View File

@ -18,8 +18,12 @@ There are some constraints:
- cross-filesystem reflink is not possible, there's nothing in common between
so the block sharing can't work
- reflink crossing two mount points of the same filesystem does not work due
to an artificial limitation in VFS (this may change in the future)
- reflink crossing two mount points of the same filesystem support depends on
kernel version:
- until 5.17 it's not supported and fails with "Cross device link", can be
worked around by performing the operation on the toplevel subvolume
- works since 5.18
- reflink requires source and target file that have the same status regarding
NOCOW and checksums, for example if the source file is NOCOW (once created
with the chattr +C attribute) then the above command won't work unless the