Skip to content
Commit 9adbd45d authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: add and use struct io_rw for read/writes



Put the kiocb in struct io_rw, and add the addr/len for the request as
well. Use the kiocb->private field for the buffer index for fixed reads
and writes.

Any use of kiocb->ki_filp is flipped to req->file. It's the same thing,
and less confusing.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d55e5f5b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment