]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: pass in struct io_big_cqe to io_alloc_ocqe()
authorJens Axboe <axboe@kernel.dk>
Fri, 16 May 2025 19:16:44 +0000 (13:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 May 2025 00:47:18 +0000 (18:47 -0600)
commitc80bdb1c55719cd6308d648a7920272a3be09e34
treeaf6078e0e54e004fcec91246c103e8728e142c78
parent072d37b52c914271319b9f7e596ff3cba02e249c
io_uring: pass in struct io_big_cqe to io_alloc_ocqe()

Rather than pass extra1/extra2 separately, just pass in the (now) named
io_big_cqe struct instead. The callers that don't use/support CQE32 will
now just pass a single NULL, rather than two seperate mystery zero
values.

Move the clearing of the big_cqe elements into io_alloc_ocqe() as well,
so it can get moved out of the generic code.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c