[libvirt] [PATCHv2 0/2] add support for btrfs COW copy

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Fri Jan 23 10:22:33 UTC 2015


If VIR_STORAGE_VOL_CREATE_REFLINK is specified,
try to use btrfs COW copy;

v2: check BTRFS_IOC_CLONE in configure.ac
    error out if COW copy is not supported

Chen Hanxiao (2):
  storage: introduce btrfsCloneFile() for COW copy
  storage: try to perform btrfs clone if possible

 configure.ac                      | 12 +++++++
 include/libvirt/libvirt-storage.h |  1 +
 src/storage/storage_backend.c     | 67 +++++++++++++++++++++++++++++++++++----
 src/storage/storage_backend_fs.c  |  8 +++--
 src/storage/storage_driver.c      |  4 ++-
 5 files changed, 82 insertions(+), 10 deletions(-)

-- 
2.1.0




More information about the libvir-list mailing list