aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-10-20 09:53:02 +0100
committerJens Axboe <[email protected]>2021-10-20 09:54:16 -0600
commit4ea672ab694c23886b52e97cee10dea056e43e62 (patch)
treea49ff15c524951452747ecfbdc24e4fad32180b7 /tools/perf/util/trace-event-scripting.c
parente139a1ec92f8dbaaa7380d7e7ea17e148d473d06 (diff)
io_uring: fix ltimeout unprep
io_unprep_linked_timeout() is broken, first it needs to return back REQ_F_ARM_LTIMEOUT, so the linked timeout is enqueued and disarmed. But now we refcounted it, and linked timeouts may get not executed at all, leaking a request. Just kill the unprep optimisation. Fixes: 906c6caaf586 ("io_uring: optimise io_prep_linked_timeout()") Reported-by: Beld Zhang <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/51b8e2bfc4bea8ee625cf2ba62b2a350cc9be031.1634719585.git.asml.silence@gmail.com Link: https://github.com/axboe/liburing/issues/460 Reported-by: Beld Zhang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions