diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-29 00:24:16 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-29 00:24:16 (GMT) |
commit | 9b96ce71974127af0304514d310abe596426c112 (patch) | |
tree | fd43e1006feaa0a4c061e073057c1f276f5ff935 | |
parent | 849b286fd026a6924cc6a4315e446ed88ab983d2 (diff) | |
download | linux-fsl-qoriq-9b96ce71974127af0304514d310abe596426c112.tar.xz |
SUNRPC: Limit the rpciod workqueue concurrency
We shouldn't need more than 1 worker thread per cpu, since rpciod
is designed to run without sleeping in most cases.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r-- | net/sunrpc/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 128494e..6357fcb 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -1022,7 +1022,7 @@ static int rpciod_start(void) * Create the rpciod thread and wait for it to start. */ dprintk("RPC: creating workqueue rpciod\n"); - wq = alloc_workqueue("rpciod", WQ_MEM_RECLAIM, 0); + wq = alloc_workqueue("rpciod", WQ_MEM_RECLAIM, 1); rpciod_workqueue = wq; return rpciod_workqueue != NULL; } |