Parcourir la source

Make the xprtiod workqueue unbounded.

This should help reduce the latency on replies.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Trond Myklebust il y a 7 ans
Parent
commit
90ea9f1b60
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      net/sunrpc/sched.c

+ 1 - 1
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;