summaryrefslogtreecommitdiff
path: root/io_uring/rsrc.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-12-07 03:53:30 +0000
committerJens Axboe <axboe@kernel.dk>2022-12-07 06:47:13 -0700
commite6aeb2721d3bad8379c43644d0380908e93b0187 (patch)
tree82f98f25d70cf4e3e8781fdfdc493d5810810cf2 /io_uring/rsrc.c
parent1b346e4aa8e79227391ffd6b7c6ee5acf0fa8bfc (diff)
io_uring: complete all requests in task context
This patch adds ctx->task_complete flag. If set, we'll complete all requests in the context of the original task. Note, this extends to completion CQE posting only but not io_kiocb cleanup / free, e.g. io-wq may free the requests in the free calllback. This flag will be used later for optimisations purposes. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/21ece72953f76bb2e77659a72a14326227ab6460.1670384893.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rsrc.c')
0 files changed, 0 insertions, 0 deletions