io_uring: get rid of req->io/io_async_ctx union
authorJens Axboe <axboe@kernel.dk>
Sun, 16 Aug 2020 01:44:09 +0000 (18:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:34 +0000 (20:32 -0600)
commite8c2bc1fb6c9495b71efe7af476a351ccfba73c4
tree397fda9e7e0187a2a7a64528c276442dc99c4424
parent4be1c615126963ade321492283c05fb653f55099
io_uring: get rid of req->io/io_async_ctx union

There's really no point in having this union, it just means that we're
always allocating enough room to cater to any command. But that's
pointless, as the ->io field is request type private anyway.

This gets rid of the io_async_ctx structure, and fills in the required
size in the io_op_defs[] instead.

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