summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2018-02-06 07:58:49 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2018-02-07 18:31:54 -0500
commit90ea9f1b60c679049619a79d9fc1557bc41c4973 (patch)
tree76703b8a3c8a74e397ce2f414864d9ab1da45d93
parent2275cde4ccb319ae1eb1c6c717f0e547e62019ee (diff)
downloadlinux-90ea9f1b60c679049619a79d9fc1557bc41c4973.tar.gz
linux-90ea9f1b60c679049619a79d9fc1557bc41c4973.tar.bz2
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.c2
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;