diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-08-17 23:36:44 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-18 00:06:14 +0200 |
commit | 9cb0073b302a6b8a8c1015ff31b2b3ab4900f866 (patch) | |
tree | 9bdbfa1fa00c665de564148b5457918922c6b664 /COPYING | |
parent | io_uring: only assign io_uring_enter() SQPOLL error in actual error case (diff) | |
download | linux-9cb0073b302a6b8a8c1015ff31b2b3ab4900f866.tar.xz linux-9cb0073b302a6b8a8c1015ff31b2b3ab4900f866.zip |
io_uring: pin ctx on fallback execution
Pin ring in io_fallback_req_func() by briefly elevating ctx->refs in
case any task_work handler touches ctx after releasing a request.
Fixes: 9011bf9a13e3b ("io_uring: fix stuck fallback reqs")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/833a494713d235ec144284a9bbfe418df4f6b61c.1629235576.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions