commit | e83acd7d37d83035f2fe078f656f87418ea2a687 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Feb 28 22:35:09 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:57 2021 -0600 |
tree | 0f0dc9006b0a54854aeb948a80239b3bb2110726 | |
parent | d434405aaab7d0ebc516b68a8fc4100922d7f5ef [diff] |
io_uring: avoid taking ctx refs for task-cancel Don't bother to take a ctx->refs for io_req_task_cancel() because it take uring_lock before putting a request, and the context is promised to stay alive until unlock happens. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>