lkml.org 
[lkml]   [2009]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/6] aio: use lazy workqueues
Date
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
---
fs/aio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/aio.c b/fs/aio.c
index d065b2c..4103b59 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -72,7 +72,7 @@ static int __init aio_setup(void)
kiocb_cachep = KMEM_CACHE(kiocb, SLAB_HWCACHE_ALIGN|SLAB_PANIC);
kioctx_cachep = KMEM_CACHE(kioctx,SLAB_HWCACHE_ALIGN|SLAB_PANIC);

- aio_wq = create_workqueue("aio");
+ aio_wq = create_lazy_workqueue("aio");

pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));

--
1.6.4.173.g3f189


\
 
 \ /
  Last update: 2009-08-20 12:25    [W:0.595 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site