summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2018-02-06 13:58:49 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2018-02-08 00:31:54 +0100
commit90ea9f1b60c679049619a79d9fc1557bc41c4973 (patch)
tree76703b8a3c8a74e397ce2f414864d9ab1da45d93 /net
parentSUNRPC: Queue latency-sensitive socket tasks to xprtiod (diff)
downloadlinux-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>
Diffstat (limited to 'net')
-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;