Make the xprtiod workqueue unbounded.
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 6 Feb 2018 12:58:49 +0000 (07:58 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 7 Feb 2018 23:31:54 +0000 (18:31 -0500)
This should help reduce the latency on replies.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/sched.c

index 96fdf60..25e6051 100644 (file)
@@ -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;