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.
Jan