[libvirt] [PATCHv2 2/2] storage: try to perform btrfs clone if possible
Ján Tomko
jtomko at redhat.com
Tue Jan 27 12:46:12 UTC 2015
On 01/23/2015 11:22 AM, Chen Hanxiao wrote:
> When creating RAW file, we don't take advantage
> of clone of btrfs.
>
> Try to do a btrfs lightweight copy, or error out.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> ---
> include/libvirt/libvirt-storage.h | 1 +
> src/storage/storage_backend.c | 43 ++++++++++++++++++++++++++++++++-------
> src/storage/storage_backend_fs.c | 8 ++++++--
> src/storage/storage_driver.c | 4 +++-
> 4 files changed, 46 insertions(+), 10 deletions(-)
ACK and pushed.
It would also be nice to add the flag to virsh.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150127/803961ff/attachment-0001.sig>
More information about the libvir-list
mailing list