commit | 9adbd45d6d32ffc1a03f3c51d72cfc69ebfc2ddb | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Dec 20 08:45:55 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 20 09:52:45 2019 -0700 |
tree | ec6209a7e0524977572b48d8ab501d29556057e2 | |
parent | d55e5f5b70dd6214ef81fb2313121b72a7dd2200 [diff] |
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: Jens Axboe <axboe@kernel.dk>