Re: [libvirt] [PATCH 2/2] storage: try to perform btrfs COW copy if possible

2015-01-19 Thread Chen, Hanxiao
-Original Message- From: Ján Tomko [mailto:jto...@redhat.com] Sent: Friday, January 16, 2015 10:22 PM To: Chen, Hanxiao/陈 晗霄; libvir-list@redhat.com Subject: Re: [libvirt] [PATCH 2/2] storage: try to perform btrfs COW copy if possible On 01/13/2015 09:18 AM, Chen Hanxiao wrote

Re: [libvirt] [PATCH 2/2] storage: try to perform btrfs COW copy if possible

2015-01-16 Thread Ján Tomko
On 01/13/2015 09:18 AM, Chen Hanxiao wrote: We don't take advantage of clone of btrfs. So a)try to do a btrfs lightweight copy b)fall back to a standard copy if COW copy not supported. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- include/libvirt/libvirt-storage.h |

[libvirt] [PATCH 2/2] storage: try to perform btrfs COW copy if possible

2015-01-13 Thread Chen Hanxiao
We don't take advantage of clone of btrfs. So a)try to do a btrfs lightweight copy b)fall back to a standard copy if COW copy not supported. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- include/libvirt/libvirt-storage.h | 1 + src/storage/storage_backend.c | 39