io_uring: add generic command payload type to struct io_kiocb
authorJens Axboe <axboe@kernel.dk>
Tue, 24 May 2022 14:32:05 +0000 (08:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 17 Jun 2022 12:30:35 +0000 (06:30 -0600)
commit59e9fc11a8f76bd4c592e008aec734a7fda0a9e8
tree6de58a004f796c0f60d414bb16a6bbc46daa2fc1
parentf618289b13f871465d5080d4cd555dbf792402bc
io_uring: add generic command payload type to struct io_kiocb

Each opcode generally has a command structure in io_kiocb which it can
use to store data associated with that request.

In preparation for having the core layer not know about what's inside
these fields, add a generic io_cmd_data type and put in the union as
well.

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