Make the xprtiod workqueue unbounded.

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/90ea9f1b60c679049619a79d9fc1557bc41c4973
Commit:     90ea9f1b60c679049619a79d9fc1557bc41c4973
Parent:     2275cde4ccb319ae1eb1c6c717f0e547e62019ee
Refname:    refs/heads/master
Author:     Trond Myklebust <[email protected]>
AuthorDate: Tue Feb 6 07:58:49 2018 -0500
Committer:  Trond Myklebust <[email protected]>
CommitDate: Wed Feb 7 18:31:54 2018 -0500

    Make the xprtiod workqueue unbounded.
    
    This should help reduce the latency on replies.
    
    Signed-off-by: Trond Myklebust <[email protected]>
---
 net/sunrpc/sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.