diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2020-06-27 14:04:55 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-06-28 08:10:16 -0600 |
| commit | 906a8c3fdbc367325d4200e39212a2a7715b7b0e (patch) | |
| tree | 1920f1c8e5e187e2542a18de0410069c86c2d031 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | io_uring: fix req->work corruption (diff) | |
| download | linux-906a8c3fdbc367325d4200e39212a2a7715b7b0e.tar.gz linux-906a8c3fdbc367325d4200e39212a2a7715b7b0e.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
