All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfsd: use a multithreaded workqueue for nfsd4_callbacks
@ 2015-10-03 12:38 Jeff Layton
  2015-10-09 21:24 ` J. Bruce Fields
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Layton @ 2015-10-03 12:38 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs

I don't see any need to order callbacks with respect to one another.
Also, these are generally not involved in memory reclaim, so I don't see
the need for a rescuer thread here either.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
---
 fs/nfsd/nfs4callback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index e7f50c4081d6..7dabbb436290 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -1017,7 +1017,7 @@ static const struct rpc_call_ops nfsd4_cb_ops = {
 
 int nfsd4_create_callback_queue(void)
 {
-	callback_wq = create_singlethread_workqueue("nfsd4_callbacks");
+	callback_wq = alloc_workqueue("%s", WQ_UNBOUND, 0, "nfsd4_callbacks");
 	if (!callback_wq)
 		return -ENOMEM;
 	return 0;
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-12 21:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-03 12:38 [PATCH] nfsd: use a multithreaded workqueue for nfsd4_callbacks Jeff Layton
2015-10-09 21:24 ` J. Bruce Fields
2015-10-09 21:39   ` Jeff Layton
2015-10-12 18:11     ` J. Bruce Fields
2015-10-12 20:14       ` Jeff Layton
2015-10-12 20:20         ` J. Bruce Fields
2015-10-12 21:02           ` Jeff Layton
2015-10-12 21:07             ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.