Re: [Qemu-devel] [PATCH v8 06/11] file-posix: Implement bdrv_co_copy_range

2018-06-01 Thread Stefan Hajnoczi
On Fri, Jun 01, 2018 at 02:28:44PM +0800, Fam Zheng wrote: > With copy_file_range(2), we can implement the bdrv_co_copy_range > semantics. > > Signed-off-by: Fam Zheng > --- > block/file-posix.c | 98 +++-- > configure | 17 +++ > includ

[Qemu-devel] [PATCH v8 06/11] file-posix: Implement bdrv_co_copy_range

2018-05-31 Thread Fam Zheng
With copy_file_range(2), we can implement the bdrv_co_copy_range semantics. Signed-off-by: Fam Zheng --- block/file-posix.c | 98 +++-- configure | 17 +++ include/block/raw-aio.h | 10 - 3 files changed, 120 insertions(+), 5 deletio