From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, vsementsov@virtuozzo.com, s.reiter@proxmox.com,
qemu-devel@nongnu.org, dietmar@proxmox.com, stefanha@redhat.com,
mreitz@redhat.com, t.lamprecht@proxmox.com
Subject: [PATCH for-5.0 0/2] block: Fix blk->in_flight during blk_wait_while_drained()
Date: Fri, 3 Apr 2020 12:44:13 +0200 [thread overview]
Message-ID: <20200403104415.20963-1-kwolf@redhat.com> (raw)
This fixes deadlocks when draining a BlockBackend in an iothread that
receives new requests at the same time.
Kevin Wolf (2):
block: Don't blk_wait_while_drained() in blk_co_preadv/pwritev
block: Fix blk->in_flight during blk_wait_while_drained()
block/block-backend.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
--
2.20.1
next reply other threads:[~2020-04-03 10:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 10:44 Kevin Wolf [this message]
2020-04-03 10:44 ` [PATCH for-5.0 1/2] block: Don't blk_wait_while_drained() in blk_co_preadv/pwritev Kevin Wolf
2020-04-03 12:40 ` Max Reitz
2020-04-03 10:44 ` [PATCH for-5.0 2/2] block: Fix blk->in_flight during blk_wait_while_drained() Kevin Wolf
2020-04-03 12:42 ` Max Reitz
2020-04-03 14:50 ` Kevin Wolf
2020-04-06 9:41 ` 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=20200403104415.20963-1-kwolf@redhat.com \
--to=kwolf@redhat.com \
--cc=dietmar@proxmox.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=s.reiter@proxmox.com \
--cc=stefanha@redhat.com \
--cc=t.lamprecht@proxmox.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).