]> Git Repo - qemu.git/commit - include/block/block_int.h
block: Introduce API for copy offloading
authorFam Zheng <[email protected]>
Fri, 1 Jun 2018 09:26:39 +0000 (17:26 +0800)
committerStefan Hajnoczi <[email protected]>
Fri, 1 Jun 2018 13:41:47 +0000 (14:41 +0100)
commitfcc6767836efe1b160289905dce7228d594c123c
treec3954aa99fedfd2ef658dba81c900a25521379f3
parentc25e8bba1f546ea72744ccfab77f8a9e8a323be8
block: Introduce API for copy offloading

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 <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 20180601092648[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/io.c
include/block/block.h
include/block/block_int.h
This page took 0.02355 seconds and 4 git commands to generate.