diff options
author | Pavel Begunkov <[email protected]> | 2022-05-13 11:24:56 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-05-13 06:50:42 -0600 |
commit | e0deb6a025ae8c850dc8685be39fb27b06c88736 (patch) | |
tree | f3f6e4af01512eefa04dc65d2d2d8f5f1e893693 /tools/perf/scripts/python/sched-migration.py | |
parent | a8da73a32b6e9271a613e5a0e90a8c35f40abeb8 (diff) |
io_uring: avoid io-wq -EAGAIN looping for !IOPOLL
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 where there is no other
recourse than to retry as we cannot wait.
Fixes: def596e9557c9 ("io_uring: support for IO polling")
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/f168b4f24181942f3614dd8ff648221736f572e6.1652433740.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions