summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-09 15:04:09 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-23 22:07:59 +0300
commita2416e1ec23c6b79010d03d69c0e4e035339b4ad (patch)
treece91d7608bb518613851c1fb6c5dad37e5188871 /tools/perf/scripts/python/export-to-postgresql.py
parent864ea921b0300fe5a4db9136b7e307e94b369530 (diff)
downloadlinux-a2416e1ec23c6b79010d03d69c0e4e035339b4ad.tar.xz
io_uring: don't halt iopoll too early
IOPOLL users should care more about getting completions for requests they submitted, but not in "device did/completed something". Currently, io_do_iopoll() may return a positive number, which will instruct io_iopoll_check() to break the loop and end the syscall, even if there is not enough CQEs or none at all. Don't return positive numbers, so io_iopoll_check() exits only when it gets an actual error, need reschedule or got enough CQEs. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/641a88f751623b6758303b3171f0a4141f06726e.1628471125.git.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