commit | b14cca0c84c760fbd39ad6bb7e1181e2df103d25 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Jan 17 04:45:59 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:04:06 2020 -0700 |
tree | f300c6f74d28ebdbc42919fd21e11b9fe2448a25 | |
parent | 0791015837f1520dd72918355dcb1f1e79175255 [diff] |
io_uring: hide uring_fd in ctx req->ring_fd and req->ring_file are used only during the prep stage during submission, which is is protected by mutex. There is no need to store them per-request, place them in ctx. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>