commit | 906a8c3fdbc367325d4200e39212a2a7715b7b0e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Jun 27 14:04:55 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 28 08:10:16 2020 -0600 |
tree | 1920f1c8e5e187e2542a18de0410069c86c2d031 | |
parent | 8ef77766ba8694968ed4ba24311b4bacee14f235 [diff] |
io_uring: fix punting req w/o grabbed env It's not enough to check for REQ_F_WORK_INITIALIZED and punt async assuming that io_req_work_grab_env() was called, it may not have been. E.g. io_close_prep() and personality path set the flag without further async init. As a quick fix, always pass next work through io_req_task_queue(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>