On 5/13/22 13:31, Jens Axboe wrote:
On 5/13/22 4:24 AM, Pavel Begunkov wrote:
If an opcode handler semi-reliably returns -EAGAIN, io_wq_submit_work()
might continue busily hammer the same handler over and over again, which
is not ideal. The -EAGAIN handling in question was put there only for
IOPOLL, so restrict it to IOPOLL mode only.
Looks good, needs:
Fixes: 90fa02883f06 ("io_uring: implement async hybrid mode for pollable requests")
unless I'm mistaken.
It's probably more of
Fixes: def596e9557c9 ("io_uring: support for IO polling")
--
Pavel Begunkov