]> git.baikalelectronics.ru Git - kernel.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)
commitde6bfb90c6d7fb0735b25568f5ca776a2d298828
tree3ef911120ba4f0e69459dad9cf2aa76e4eb0f5f5
parentc83ca079aad5eb35fb068c1fbc07b4f3ebfe2310
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