This serie add XFS library to use the macro for reflink (clone). This is
the case where BTRFS is not available but XFS is. In case of both is
unavailable, the code will use FICLONE from filesystem library if it is
defined. This implementation is similar to copy command. If you run a
copy and trace the syscalls, you will see that ioctl uses
BTRFS_IOC_CLONE or FICLONE to create a reflink.
Julio Faracco (2):
configure: Adding XFS library/headers check.
storage: Rename btrfsCloneFile to support other filesystems.
configure.ac | 7 +++++++
src/storage/storage_util.c | 20 ++++++++++++++------
2 files changed, 21 insertions(+), 6 deletions(-)
--
2.17.1