io_uring/cmd: add per-op data to struct io_uring_cmd_data
In case an op handler for ->uring_cmd() needs stable storage for user data, it can allocate io_uring_cmd_data->op_data and use it for the duration of the request. When the request gets cleaned up, uring_cmd will free it automatically. Signed-off-by:Jens Axboe <axboe@kernel.dk> Signed-off-by:
David Sterba <dsterba@suse.com>
Loading
Please register or sign in to comment