commit | 1118591ab883f46df4ab614cc976bc4c8e04a464 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Jan 22 23:09:35 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jan 22 13:57:46 2020 -0700 |
tree | 50adb45f27ed9fd54e54925a662d09f467f10ce0 | |
parent | 0463b6c58e557118d602b2f225fa3bbe9b6f3560 [diff] |
io_uring: prep req when do IOSQE_ASYNC Whenever IOSQE_ASYNC is set, requests will be punted to async without getting into io_issue_req() and without proper preparation done (e.g. io_req_defer_prep()). Hence they will be left uninitialised. Prepare them before punting. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>