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

Julio Faracco posted 2 patches 5 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180706134301.5093-1-jcfaracco@gmail.com
Test syntax-check passed
configure.ac               |  7 +++++++
src/storage/storage_util.c | 20 ++++++++++++++------
2 files changed, 21 insertions(+), 6 deletions(-)
[libvirt] [PATCH 0/2] Adding reflink support for XFS and others.
Posted by Julio Faracco 5 years, 9 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/2] Adding reflink support for XFS and others.
Posted by Michal Prívozník 5 years, 9 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list