]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: add a flag to clone files on btrfs
authorChen Hanxiao <chenhanxiao@cn.fujitsu.com>
Fri, 23 Jan 2015 10:22:35 +0000 (18:22 +0800)
committerJán Tomko <jtomko@redhat.com>
Tue, 27 Jan 2015 12:41:14 +0000 (13:41 +0100)
commit95da191376c4893ad3da1a7b37594f679fab9e03
tree6f9804c0707104a0127d5109b0dd2ff7eaed64e5
parent466b29c8c3593b2dac92acad5dd8ec923c428259
storage: add a flag to clone files on btrfs

When creating a RAW file, we don't take advantage
of clone of btrfs.

Add a VIR_STORAGE_VOL_CREATE_REFLINK flag to request
a reflink copy.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
include/libvirt/libvirt-storage.h
src/storage/storage_backend.c
src/storage/storage_backend_fs.c
src/storage/storage_driver.c