diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-02-06 13:58:49 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-02-08 00:31:54 +0100 |
commit | 90ea9f1b60c679049619a79d9fc1557bc41c4973 (patch) | |
tree | 76703b8a3c8a74e397ce2f414864d9ab1da45d93 | |
parent | SUNRPC: Queue latency-sensitive socket tasks to xprtiod (diff) | |
download | linux-90ea9f1b60c679049619a79d9fc1557bc41c4973.tar.xz linux-90ea9f1b60c679049619a79d9fc1557bc41c4973.zip |
Make the xprtiod workqueue unbounded.
This should help reduce the latency on replies.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.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 96fdf6011c53..25e6051e97f2 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -1109,7 +1109,7 @@ static int rpciod_start(void) goto out_failed; rpciod_workqueue = wq; /* Note: highpri because network receive is latency sensitive */ - wq = alloc_workqueue("xprtiod", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0); + wq = alloc_workqueue("xprtiod", WQ_UNBOUND|WQ_MEM_RECLAIM|WQ_HIGHPRI, 0); if (!wq) goto free_rpciod; xprtiod_workqueue = wq; |