From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Hanna Reitz <hreitz@redhat.com>,
qemu-stable@nongnu.org, Kevin Wolf <kwolf@redhat.com>,
qemu-block@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>
Subject: [PATCH 0/2] linux-aio: fix unbalanced plugged counter in laio_io_unplug()
Date: Thu, 9 Jun 2022 17:47:10 +0100 [thread overview]
Message-ID: <20220609164712.1539045-1-stefanha@redhat.com> (raw)
An unlucky I/O pattern can result in stalled Linux AIO requests when the
plugged counter becomes unbalanced. See Patch 1 for details.
Patch 2 adds a comment to explain why the laio_io_unplug() even checks max
batch in the first place.
Stefan Hajnoczi (2):
linux-aio: fix unbalanced plugged counter in laio_io_unplug()
linux-aio: explain why max batch is checked in laio_io_unplug()
block/linux-aio.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
--
2.36.1
next reply other threads:[~2022-06-09 18:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-09 16:47 Stefan Hajnoczi [this message]
2022-06-09 16:47 ` [PATCH 1/2] linux-aio: fix unbalanced plugged counter in laio_io_unplug() Stefan Hajnoczi
2022-06-09 17:45 ` Stefano Garzarella
2022-06-09 16:47 ` [PATCH 2/2] linux-aio: explain why max batch is checked " Stefan Hajnoczi
2022-06-09 17:47 ` Stefano Garzarella
2022-06-14 16:29 ` [PATCH 0/2] linux-aio: fix unbalanced plugged counter " Stefan Hajnoczi
2022-06-16 21:27 ` Mark Mielke
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=20220609164712.1539045-1-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/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).