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>
Wed, 9 Sep 2020 14:13:31 +0000 (08:13 -0600)
commit76c917267129c971de29d8b9d310439184e29420
tree846d9700abd6f50ca12c5d72ff36b5a38bf3075a
parenta60edf3afa896f6a344e21d8596866ddf6a162e4
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