Re: [RFC PATCH 09/14] sunrpc: add basic support for workqueue-based services

2014-12-08 Thread Jeff Layton
On Mon, 8 Dec 2014 15:47:09 -0500 "J. Bruce Fields" wrote: > On Tue, Dec 02, 2014 at 01:24:18PM -0500, Jeff Layton wrote: > > diff --git a/net/sunrpc/Kconfig b/net/sunrpc/Kconfig > > index fb78117b896c..08e01949bdc5 100644 > > --- a/net/sunrpc/Kconfig > > +++ b/net/sunrpc/Kconfig > > @@ -71,3 +71

Re: [RFC PATCH 09/14] sunrpc: add basic support for workqueue-based services

2014-12-08 Thread J. Bruce Fields
On Tue, Dec 02, 2014 at 01:24:18PM -0500, Jeff Layton wrote: > diff --git a/net/sunrpc/Kconfig b/net/sunrpc/Kconfig > index fb78117b896c..08e01949bdc5 100644 > --- a/net/sunrpc/Kconfig > +++ b/net/sunrpc/Kconfig > @@ -71,3 +71,13 @@ config SUNRPC_XPRT_RDMA_SERVER > choose M here: the module

[RFC PATCH 09/14] sunrpc: add basic support for workqueue-based services

2014-12-02 Thread Jeff Layton
Add a new "workqueue" pool mode setting. When that is configured, we'll set up a svc_pool for each NUMA node, but don't bother with the pool <=> cpu mapping arrays. We use an unbound workqueue, which should naturally make each xprt be queued to a CPU within the current NUMA node. Signed-off-by: J