io_uring: simplify big_cqe handling
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 24 Aug 2023 22:53:25 +0000 (23:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Aug 2023 23:16:19 +0000 (17:16 -0600)
commitb24c5d752962fa0970cd7e3d74b1cd0e843358de
tree74ca977b70dc9e2440ecbccf52c3a19c3deaf7f9
parent31d3ba924fd86add6d14f9085fdd2f4ec0879631
io_uring: simplify big_cqe handling

Don't keep big_cqe bits of req in a union with hash_node, find a
separate space for it. It's bit safer, but also if we keep it always
initialised, we can get rid of ugly REQ_F_CQE32_INIT handling.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/447aa1b2968978c99e655ba88db536e903df0fe9.1692916914.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/uring_cmd.c