diff options
author | 2021-04-11 01:46:26 +0100 | |
---|---|---|
committer | 2021-04-11 19:30:41 -0600 | |
commit | b303fe2e5a3802b0b1fb8d997e5c9caef48f6dd8 (patch) | |
tree | c2bae71460051364c63467df6a7bb8aa3ed1ba3a /include/linux/io_uring.h | |
parent | io_uring: unify task and files cancel loops (diff) | |
download | wireguard-linux-b303fe2e5a3802b0b1fb8d997e5c9caef48f6dd8.tar.xz wireguard-linux-b303fe2e5a3802b0b1fb8d997e5c9caef48f6dd8.zip |
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/io_uring.h')
0 files changed, 0 insertions, 0 deletions