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