Re: [libvirt] [PATCHv2 2/2] storage: try to perform btrfs clone if possible

2015-01-27 Thread Chen, Hanxiao
-Original Message- From: Ján Tomko [mailto:jto...@redhat.com] Sent: Tuesday, January 27, 2015 8:46 PM To: Chen, Hanxiao/陈 晗霄; libvir-list@redhat.com Subject: Re: [libvirt] [PATCHv2 2/2] storage: try to perform btrfs clone if possible On 01/23/2015 11:22 AM, Chen Hanxiao wrote

Re: [libvirt] [PATCHv2 2/2] storage: try to perform btrfs clone if possible

2015-01-27 Thread Ján Tomko
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 chenhanx...@cn.fujitsu.com --- include/libvirt/libvirt-storage.h | 1 +

[libvirt] [PATCHv2 2/2] storage: try to perform btrfs clone if possible

2015-01-23 Thread Chen Hanxiao
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 chenhanx...@cn.fujitsu.com --- include/libvirt/libvirt-storage.h | 1 + src/storage/storage_backend.c | 43