From 7746c15f8bf33bdf459e71678bfc4e21844a7eb7 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 31 May 2004 18:51:50 -0700 Subject: [PATCH] [PATCH] use aio workqueue in fs/aio.c From: William Lee Irwin III Minor aio correction split off from suparna's patches: Use the dedicated aio workqueue, not keventd, in order to isolate the rest of the system from aio's demands. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/aio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/aio.c b/fs/aio.c index 574eeaf5d4907..7ca2af82bd992 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -608,7 +608,7 @@ void fastcall kick_iocb(struct kiocb *iocb) spin_lock_irqsave(&ctx->ctx_lock, flags); list_add_tail(&iocb->ki_run_list, &ctx->run_list); spin_unlock_irqrestore(&ctx->ctx_lock, flags); - schedule_work(&ctx->wq); + queue_work(aio_wq, &ctx->wq); } } -- 2.53.0