summaryrefslogtreecommitdiff
path: root/io_uring/rsrc.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-12-07 03:53:31 +0000
committerJens Axboe <axboe@kernel.dk>2022-12-07 06:47:13 -0700
commit17add5cea2bbafea0d481f1a3ea9dea019a98ee9 (patch)
tree55652b69cf57e7f16a461773ae78682bacf47e48 /io_uring/rsrc.c
parente6aeb2721d3bad8379c43644d0380908e93b0187 (diff)
io_uring: force multishot CQEs into task context
Multishot are posting CQEs outside of the normal request completion path, which is usually done from within a task work handler. However, it might be not the case when it's yet to be polled but has been punted to io-wq. Make it abide ->task_complete and push it to the polling path when executed by io-wq. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/d7714aaff583096769a0f26e8e747759e556feb1.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