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, 17 Jun 2024 21:10:55 +0000 (15:10 -0600)
commit6e1443a9ee02e2215e71259782448c8c66fec0c2
treecaf8cf7bc99c2f113a048ae2047d27cdb88d61f8
parente78c6e16b360bf9aa7fcc09b498412c844be0048
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