io_uring: add io_add_aux_cqe32() helper
authorJens Axboe <axboe@kernel.dk>
Thu, 24 Jul 2025 21:03:27 +0000 (15:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 Aug 2025 14:38:27 +0000 (08:38 -0600)
commit7e7c53453070fee71cd56b6e73038ebe6422fc5b
treee0fc4da0518250a96159eba044024ee308d7fb43
parentd4e4929d9001b4edffac5e80fb05ec4feceba7a6
io_uring: add io_add_aux_cqe32() helper

Add a helper like io_add_aux_cqe(), except it supports posting CQE32
CQEs. It returns true if the CQE was posted to the target ring, false
otherwise. Use case is otherwise the same, it can be used within
task_work like context where completions are posted when they have all
been posted.

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