commit | 9cf7c104deaef52d6fd7c103a716e31d9815ede8 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jul 13 23:37:15 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jul 24 12:55:45 2020 -0600 |
tree | 567bce27dd20ec1063e4d003de1652a18e9160ae | |
parent | 27dc8338e5fb0e0ed5b272e792f4ffad7f3bc03e [diff] |
io_uring: remove sequence from io_kiocb req->sequence is used only for deferred (i.e. DRAIN) requests, but initialised for every request. Remove req->sequence from io_kiocb together with its initialisation in io_init_req(). Replace it with a new field in struct io_defer_entry, that will be calculated only when needed in io_req_defer(), which is a slow path. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>