[Qemu-devel] [PATCH 0/4] block-backend: Queue requests while drained

Kevin Wolf posted 4 patches 4 years, 9 months ago
Test s390x passed
Test docker-clang@ubuntu passed
Test docker-mingw@fedora passed
Test asan passed
Test FreeBSD passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190725162704.12622-1-kwolf@redhat.com
Maintainers: Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>, Kevin Wolf <kwolf@redhat.com>
There is a newer version of this series
include/sysemu/block-backend.h | 13 +++---
block.c                        | 49 +++++++++++++-------
block/backup.c                 |  1 +
block/block-backend.c          | 85 +++++++++++++++++++++++-----------
block/commit.c                 |  2 +
block/mirror.c                 | 20 ++++----
blockjob.c                     |  3 ++
hw/block/hd-geometry.c         |  7 +--
tests/test-bdrv-drain.c        |  1 +
9 files changed, 118 insertions(+), 63 deletions(-)
[Qemu-devel] [PATCH 0/4] block-backend: Queue requests while drained
Posted by Kevin Wolf 4 years, 9 months ago
This series fixes the problem that devices like IDE, which submit
requests as a direct result of I/O from the CPU thread, can continue to
submit new requests even in a drained section.

In order to avoid a dependency for this series, I borrowed a patch from
Max.

Kevin Wolf (3):
  block: Remove blk_pread_unthrottled()
  mirror: Keep target drained until graph changes are done
  block-backend: Queue requests while drained

Max Reitz (1):
  block: Reduce (un)drains when replacing a child

 include/sysemu/block-backend.h | 13 +++---
 block.c                        | 49 +++++++++++++-------
 block/backup.c                 |  1 +
 block/block-backend.c          | 85 +++++++++++++++++++++++-----------
 block/commit.c                 |  2 +
 block/mirror.c                 | 20 ++++----
 blockjob.c                     |  3 ++
 hw/block/hd-geometry.c         |  7 +--
 tests/test-bdrv-drain.c        |  1 +
 9 files changed, 118 insertions(+), 63 deletions(-)

-- 
2.20.1