[Qemu-devel] [PATCH 0/6] mirror: Use copy offloading

Fam Zheng posted 6 patches 5 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180608060417.10170-1-famz@redhat.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test s390x passed
block.c                        |  12 ++
block/block-backend.c          | 247 +++++++++++++++++++++++----------
block/file-posix.c             |  29 ++--
block/io.c                     |  27 ++++
block/iscsi.c                  |   8 ++
block/mirror.c                 |  71 +++++++++-
block/qcow2.c                  |  11 ++
block/raw-format.c             |   6 +
block/trace-events             |   1 +
include/block/block_int.h      |  26 ++++
include/sysemu/block-backend.h |   4 +
11 files changed, 354 insertions(+), 88 deletions(-)
[Qemu-devel] [PATCH 0/6] mirror: Use copy offloading
Posted by Fam Zheng 5 years, 10 months ago
This is the third part of copy offloading work. The first patches are fixes and
improvements in preparation for enabling mirror job. The last patch does a
similar change to the backup patch: it inserts a blk_aio_copy_range call before
the usual bounce buffer code in mirror_iteration.

Fam Zheng (6):
  file-posix: Fix EINTR handling
  block: Check if block drivers can do copy offloading
  block-backend: Refactor AIO emulation
  block-backend: Add blk_aio_copy_range
  block: Add backing passthrough implementations for copy_range
  mirror: Use copy offloading

 block.c                        |  12 ++
 block/block-backend.c          | 247 +++++++++++++++++++++++----------
 block/file-posix.c             |  29 ++--
 block/io.c                     |  27 ++++
 block/iscsi.c                  |   8 ++
 block/mirror.c                 |  71 +++++++++-
 block/qcow2.c                  |  11 ++
 block/raw-format.c             |   6 +
 block/trace-events             |   1 +
 include/block/block_int.h      |  26 ++++
 include/sysemu/block-backend.h |   4 +
 11 files changed, 354 insertions(+), 88 deletions(-)

-- 
2.17.0