On Fri, May 11, 2018 at 08:08:14PM +0800, Fam Zheng wrote:
> Introduce the bdrv_co_copy_range() API for copy offloading.  Block
> drivers implementing this API support efficient copy operations that
> avoid reading each block from the source device and writing it to the
> destination devices.  Examples of copy offload primitives are SCSI
> EXTENDED COPY and Linux copy_file_range(2).
> 
> Signed-off-by: Fam Zheng <f...@redhat.com>
> ---
>  block/io.c                | 96 
> +++++++++++++++++++++++++++++++++++++++++++++++
>  include/block/block.h     | 32 ++++++++++++++++
>  include/block/block_int.h | 38 +++++++++++++++++++
>  3 files changed, 166 insertions(+)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to