Re: [Qemu-devel] [RFC PATCH v2 7/7] qemu-img: Convert with copy offloading

2018-05-03 Thread Stefan Hajnoczi
On Wed, Apr 18, 2018 at 11:04:24AM +0800, Fam Zheng wrote: > The new blk_co_copy_range interface offers a more efficient way in the > case of network based storage. Make use of it to allow faster convert > operation. > > Since copy offloading cannot do zero detection ('-S') and compression > (-c),

[Qemu-devel] [RFC PATCH v2 7/7] qemu-img: Convert with copy offloading

2018-04-17 Thread Fam Zheng
The new blk_co_copy_range interface offers a more efficient way in the case of network based storage. Make use of it to allow faster convert operation. Since copy offloading cannot do zero detection ('-S') and compression (-c), only try it when these options are not used. Signed-off-by: Fam Zheng