File copy operation that defers file offset tracking to the
underlying call. On Linux this attempts to use
copy_file_range
and falls back to user-space if that is not available.
File copy operation that that copies a block at offsetoff. On
Linux this attempts to use
copy_file_range
and falls back to user-space if that is not available.
Attempt to retrieve a map of the underlying allocated extents for
a file. Will return None if the filesystem doesn’t support
extents. On Linux this is the raw list from
fiemap. See
merge_extents for a tool to merge contiguous extents.
Reflink a file. This will reuse the underlying data on disk for
the target file, utilising copy-on-write for any future
updates. Only certain filesystems support this; if not supported
the function returns false.