summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-04-11 01:46:26 +0100
committerJens Axboe <axboe@kernel.dk>2021-04-11 19:30:41 -0600
commitb303fe2e5a3802b0b1fb8d997e5c9caef48f6dd8 (patch)
treec2bae71460051364c63467df6a7bb8aa3ed1ba3a /include/linux
parent368b2080853f4694db780528c942f191f1c1687c (diff)
io_uring: track inflight requests through counter
Instead of keeping requests in a inflight_list, just track them with a per tctx atomic counter. Apart from it being much easier and more consistent with task cancel, it frees ->inflight_entry from being shared between iopoll and cancel-track, so less headache for us. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/3c2ee0863cd7eeefa605f3eaff4c1c461a6f1157.1618101759.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions