-----Original Message-----
From: Jรกn Tomko [mailto:jtomko@redhat.com]
Sent: Tuesday, January 27, 2015 8:46 PM
To: Chen, Hanxiao/้ ๆ้; libvir-list(a)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:
> 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(a)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.
Sure, I plan to add that flag to virsh and virt-clone.
Thanks,
- Chen