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>
Mon, 25 Jul 2022 00:39:10 +0000 (18:39 -0600)
commitf49eca21563b6d919d49828aaed9eab5d8090361
treec1c9103fe9689aae1aacb49ec74d2164d73ee346
parentdc919caff6b68dab1ae56cd341d96f50c2438aea
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