Messages in this thread Patch in this message | | | Date | Mon, 31 May 2004 22:51:18 -0700 | From | William Lee Irwin III <> | Subject | [1/2] use aio workqueue in fs/aio.c |
| |
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.
Index: suparna-2.6.7-rc2/fs/aio.c =================================================================== --- suparna-2.6.7-rc2.orig/fs/aio.c 2004-05-29 23:26:10.000000000 -0700 +++ suparna-2.6.7-rc2/fs/aio.c 2004-05-31 22:06:35.788770000 -0700 @@ -608,7 +608,7 @@ 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); } } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |