io_uring: remove struct io_completion
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 4 Oct 2021 19:02:57 +0000 (20:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:54 +0000 (05:49 -0600)
commitd17e56eb4907c72054e63c71a2123d32b04ebd67
tree2359fe9601439f52ed75f22bebabaf06994df234
parentd886e185a128a4f350c4df6471c0f403c2982ae8
io_uring: remove struct io_completion

We keep struct io_completion only as a temporal storage of cflags, Place
it in io_kiocb, it's cleaner, removes extra bits and even might be used
for future optimisations.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/5299bd5c223204065464bd87a515d0e405316086.1633373302.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c