diff options
author | Fam Zheng <famz@redhat.com> | 2018-06-01 17:26:39 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-06-01 14:41:47 +0100 |
commit | fcc6767836efe1b160289905dce7228d594c123c (patch) | |
tree | c3954aa99fedfd2ef658dba81c900a25521379f3 /fpu | |
parent | c25e8bba1f546ea72744ccfab77f8a9e8a323be8 (diff) |
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 <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20180601092648.24614-2-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions