[libvirt] [PATCH 0/2] Adding reflink support for XFS and others.

Michal Prívozník mprivozn at redhat.com
Fri Jul 6 14:57:12 UTC 2018


On 07/06/2018 03:42 PM, Julio Faracco wrote:
> 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(-)
> 

ACKed and pushed.

Michal




More information about the libvir-list mailing list