io_uring: add io_add_aux_cqe() helper
authorJens Axboe <axboe@kernel.dk>
Thu, 6 Jun 2024 16:28:26 +0000 (10:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Jun 2024 14:39:45 +0000 (08:39 -0600)
commitf33096a3c99c0149be49fe1e107244a7ed860ecb
treea8a10d0f82bdfb182c3c4d959a953526da10cf0d
parentc3ac76f9ca7a621428851149bc56bfca0aacaef4
io_uring: add io_add_aux_cqe() helper

This helper will post a CQE, and can be called from task_work where we
now that the ctx is already properly locked and that deferred
completions will get flushed later on.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h