aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-09 17:43:02 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-11 16:33:05 -0700
commit47f467686ec02fc07fd5c6bb34b6f6736e2884b0 (patch)
treef02777df3aed90654797c516f6b15a074e029b0e /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: provide fallback request for OOM situations (diff)
downloadlinux-dev-47f467686ec02fc07fd5c6bb34b6f6736e2884b0.tar.xz
linux-dev-47f467686ec02fc07fd5c6bb34b6f6736e2884b0.zip
io_uring: make ASYNC_CANCEL work with poll and timeout
It's a little confusing that we have multiple types of command cancellation opcodes now that we have a generic one. Make the generic one work with POLL_ADD and TIMEOUT commands as well, that makes for an easier to use API for the application. The fact that they currently don't is a bit confusing. Add a helper that takes care of it, so we can user it from both IORING_OP_ASYNC_CANCEL and from the linked timeout cancellation. Reported-by: Hrvoje Zeba <zeba.hrvoje@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