[libvirt] [PATCH 0/2] try to use btrfs COW copy

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Tue Jan 13 08:18:27 UTC 2015


If VIR_STORAGE_VOL_CREATE_REFLINK is specified,
try to use btrfs COW copy;
If btrfs COW copy is not supported,
   fall back to normal copy.

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

 include/libvirt/libvirt-storage.h |  1 +
 src/storage/storage_backend.c     | 65 ++++++++++++++++++++++++++++++++++-----
 src/storage/storage_backend_fs.c  |  8 +++--
 src/storage/storage_driver.c      |  4 ++-
 4 files changed, 68 insertions(+), 10 deletions(-)

-- 
1.9.3




More information about the libvir-list mailing list