diff options
author | 2020-07-06 17:59:29 +0300 | |
---|---|---|
committer | 2020-07-06 09:06:20 -0600 | |
commit | 3aadc23e6054353ca056bf14e87250c79efbd7ed (patch) | |
tree | 78402f4b738e24c646cf9f2f9b8dc66aabc78f30 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: fix lost cqe->flags (diff) | |
download | wireguard-linux-3aadc23e6054353ca056bf14e87250c79efbd7ed.tar.xz wireguard-linux-3aadc23e6054353ca056bf14e87250c79efbd7ed.zip |
io_uring: don't delay iopoll'ed req completion
->iopoll() may have completed current request, but instead of reaping
it, io_do_iopoll() just continues with the next request in the list.
As a result it can leave just polled and completed request in the list
up until next syscall. Even outer loop in io_iopoll_getevents() doesn't
help the situation.
E.g. poll_list: req0 -> req1
If req0->iopoll() completed both requests, and @min<=1,
then @req0 will be left behind.
Check whether a req was completed after ->iopoll().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions