qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] linux-aio: fix unbalanced plugged counter in laio_io_unplug()
@ 2022-06-09 16:47 Stefan Hajnoczi
  2022-06-09 16:47 ` [PATCH 1/2] " Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2022-06-09 16:47 UTC (permalink / raw)
  To: qemu-devel
  Cc: Hanna Reitz, qemu-stable, Kevin Wolf, qemu-block, Stefan Hajnoczi

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-06-16 21:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09 16:47 [PATCH 0/2] linux-aio: fix unbalanced plugged counter in laio_io_unplug() Stefan Hajnoczi
2022-06-09 16:47 ` [PATCH 1/2] " 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

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).