mbox series

[0/2] io_uring: fix IO hang in io wq exit

Message ID 20230825090959.1866771-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series io_uring: fix IO hang in io wq exit | expand

Message

Ming Lei Aug. 25, 2023, 9:09 a.m. UTC
Hello,

The 1st patch add one helper, and the 2nd one fixes IO hang issue[1]
reported by David Howells.

[1] https://lore.kernel.org/linux-block/3893581.1691785261@warthog.procyon.org.uk/

Ming Lei (2):
  io_uring: add one helper for reaping iopoll events
  io_uring: reap iopoll events before exiting io wq

 io_uring/io_uring.c | 27 +++++++++++++-------
 io_uring/io_uring.h |  1 +
 io_uring/tctx.c     | 60 +++++++++++++++++++++++++++++++++++++++------
 3 files changed, 71 insertions(+), 17 deletions(-)