[libvirt] [PATCHv2 2/2] storage: try to perform btrfs clone if possible
Chen, Hanxiao
chenhanxiao at cn.fujitsu.com
Wed Jan 28 01:31:10 UTC 2015
> -----Original Message-----
> From: Ján Tomko [mailto:jtomko at redhat.com]
> Sent: Tuesday, January 27, 2015 8:46 PM
> To: Chen, Hanxiao/陈 晗霄; libvir-list at 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 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.
>
Sure, I plan to add that flag to virsh and virt-clone.
Thanks,
- Chen
More information about the libvir-list
mailing list