summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-02-12 16:33:24 +0300
committerJens Axboe <axboe@kernel.dk>2025-02-12 17:30:50 +0300
commit06521ac0485effdcc9c792cb0b40ed8e6f2f5fb8 (patch)
treee4c5d1d7427ef92173e85c249c88498bdf246c05 /tools/perf/scripts/python/export-to-postgresql.py
parent8c8492ca64e79c6e0f433e8c9d2bcbd039ef83d0 (diff)
downloadlinux-06521ac0485effdcc9c792cb0b40ed8e6f2f5fb8.tar.xz
io_uring/waitid: don't abuse io_tw_state
struct io_tw_state is managed by core io_uring, and opcode handling code must never try to cheat and create their own instances, it's plain incorrect. io_waitid_complete() attempts exactly that outside of the task work context, and even though the ring is locked, there would be no one to reap the requests from the defer completion list. It only works now because luckily it's called before io_uring_try_cancel_uring_cmd(), which flushes completions. Fixes: f31ecf671ddc4 ("io_uring: add IORING_OP_WAITID support") 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