]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
io_uring: fill extra big cqe fields from req
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jun 2022 10:23:04 +0000 (11:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Jun 2022 11:06:09 +0000 (05:06 -0600)
commit29ede2014c87576d2fc83680aa4c1d7403db0dfe
tree3ef911120ba4f0e69459dad9cf2aa76e4eb0f5f5
parentf43de1f88841d59f27f761219b6550bd6ce3dcc1
io_uring: fill extra big cqe fields from req

The only user of io_req_complete32()-like functions is cmd
requests. Instead of keeping the whole complete32 family, remove them
and provide the extras in already added for inline completions
req->extra{1,2}. When fill_cqe_res() finds CQE32 option enabled
it'll use those fields to fill a 32B cqe.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/af1319eb661b1f9a0abceb51cbbf72b8002e019d.1655287457.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c