From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, vsementsov@virtuozzo.com, den@virtuozzo.com,
qemu-devel@nongnu.org, mreitz@redhat.com,
dplotnikov@virtuozzo.com
Subject: [Qemu-devel] [PATCH 0/4] block-backend: Queue requests while drained
Date: Thu, 25 Jul 2019 18:27:00 +0200 [thread overview]
Message-ID: <20190725162704.12622-1-kwolf@redhat.com> (raw)
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
next reply other threads:[~2019-07-25 16:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-25 16:27 Kevin Wolf [this message]
2019-07-25 16:27 ` [Qemu-devel] [PATCH 1/4] block: Remove blk_pread_unthrottled() Kevin Wolf
2019-07-26 9:18 ` Max Reitz
2019-07-25 16:27 ` [Qemu-devel] [PATCH 2/4] block: Reduce (un)drains when replacing a child Kevin Wolf
2019-07-25 16:27 ` [Qemu-devel] [PATCH 3/4] mirror: Keep target drained until graph changes are done Kevin Wolf
2019-07-25 17:03 ` Eric Blake
2019-07-26 9:52 ` Max Reitz
2019-07-26 11:36 ` Kevin Wolf
2019-07-26 12:30 ` Max Reitz
2019-07-25 16:27 ` [Qemu-devel] [PATCH 4/4] block-backend: Queue requests while drained Kevin Wolf
2019-07-25 17:06 ` Eric Blake
2019-07-26 10:50 ` Max Reitz
2019-07-26 11:49 ` Kevin Wolf
2019-07-26 12:34 ` Max Reitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190725162704.12622-1-kwolf@redhat.com \
--to=kwolf@redhat.com \
--cc=den@virtuozzo.com \
--cc=dplotnikov@virtuozzo.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.