Commit 7746c15f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] use aio workqueue in fs/aio.c

From: William Lee Irwin III <wli@holomorphy.com>

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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 11aae24f
...@@ -608,7 +608,7 @@ void fastcall kick_iocb(struct kiocb *iocb) ...@@ -608,7 +608,7 @@ void fastcall kick_iocb(struct kiocb *iocb)
spin_lock_irqsave(&ctx->ctx_lock, flags); spin_lock_irqsave(&ctx->ctx_lock, flags);
list_add_tail(&iocb->ki_run_list, &ctx->run_list); list_add_tail(&iocb->ki_run_list, &ctx->run_list);
spin_unlock_irqrestore(&ctx->ctx_lock, flags); spin_unlock_irqrestore(&ctx->ctx_lock, flags);
schedule_work(&ctx->wq); queue_work(aio_wq, &ctx->wq);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment