Skip to content

Commit 914390b

Browse files
committed
io_uring: kill unnecessary io_run_ctx_fallback() in io_ring_exit_work()
We already run the fallback task_work in io_uring_try_cancel_requests(), no need to duplicate at ring exit explicitly. Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 5730b27 commit 914390b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

fs/io_uring.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8519,7 +8519,6 @@ static void io_ring_exit_work(struct work_struct *work)
85198519
*/
85208520
do {
85218521
io_uring_try_cancel_requests(ctx, NULL, NULL);
8522-
io_run_ctx_fallback(ctx);
85238522
} while (!wait_for_completion_timeout(&ctx->ref_comp, HZ/20));
85248523
io_ring_ctx_free(ctx);
85258524
}

0 commit comments

Comments
 (0)