linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH V4 0/7] nfsd/sunrpc: prepare nfsd to add workqueue mode support
@ 2015-06-08 19:01 Shirley Ma
  2015-07-10 19:54 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Shirley Ma @ 2015-06-08 19:01 UTC (permalink / raw)
  To: J. Bruce Fields, Jeff Layton, Trond Myklebust; +Cc: Linux NFS Mailing List

This patchset was originally written by Jeff Layton from adding support for a 
workqueue-based nfsd. I am helping on stability test and performance analysis. 
There are some workloads benefit from global threading mode, some workloads 
benefit from workqueue mode. I am still investigating on how to make workqueue 
mode better to bid global threading mode. I have split the original patchset 
into two parts: one is preparing nfsd to add workqueue support, one is adding 
workqueue mode. This is the first patchset, which doesn't impact nfsd threading 
mode performance based upon my test results. These changes make nfsd threading 
code more clean and easy to add workqueue mode in nfsd/sunrpc later.

sunrpc: add a new svc_serv_ops struct and move sv_shutdown into it
sunrpc: move sv_function into sv_ops
sunrpc: move sv_module parm into sv_ops
sunrpc: turn enqueueing a svc_xprt into a svc_serv operation
sunrpc: abstract out svc_set_num_threads to sv_ops
sunrpc: move pool_mode definitions into svc.h
sunrpc: factor svc_rqst allocation and freeing from sv_nrthreads refcounting

 fs/lockd/svc.c                  |   7 ++-
 fs/nfs/callback.c               |   6 ++-
 fs/nfsd/nfssvc.c                |  17 ++++--
 include/linux/sunrpc/svc.h      |  68 +++++++++++++++++-------
 include/linux/sunrpc/svc_xprt.h |   1 +
 net/sunrpc/svc.c                | 113 +++++++++++++++++++---------------------
 net/sunrpc/svc_xprt.c           |  10 ++--
 7 files changed, 135 insertions(+), 87 deletions(-)

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08 19:01 [RFC PATCH V4 0/7] nfsd/sunrpc: prepare nfsd to add workqueue mode support Shirley Ma
2015-07-10 19:54 ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).