aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-10 16:56:04 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-11 16:33:11 -0700
commitc1edbf5f081be9fbbea68c1d564b773e59c1acf3 (patch)
treea15d9e413c84f4793b77f18b18dbef4c2b211087 /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: make ASYNC_CANCEL work with poll and timeout (diff)
downloadlinux-dev-c1edbf5f081be9fbbea68c1d564b773e59c1acf3.tar.xz
linux-dev-c1edbf5f081be9fbbea68c1d564b773e59c1acf3.zip
io_uring: flag SQPOLL busy condition to userspace
Now that we have backpressure, for SQPOLL, we have one more condition that warrants flagging that the application needs to enter the kernel: we failed to submit IO due to backpressure. Make sure we catch that and flag it appropriately. If we run into backpressure issues with the SQPOLL thread, flag it as such to the application by setting IORING_SQ_NEED_WAKEUP. This will cause the application to enter the kernel, and that will flush the backlog and clear the condition. 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