linux_dsm_epyc7002/include/linux/sunrpc
Greg Banks 03cf6c9f49 knfsd: add file to export stats about nfsd pools
Add /proc/fs/nfsd/pool_stats to export to userspace various
statistics about the operation of rpc server thread pools.

This patch is based on a forward-ported version of
knfsd-add-pool-thread-stats which has been shipping in the SGI
"Enhanced NFS" product since 2006 and which was previously
posted:

http://article.gmane.org/gmane.linux.nfs/10375

It has also been updated thus:

 * moved EXPORT_SYMBOL() to near the function it exports
 * made the new struct struct seq_operations const
 * used SEQ_START_TOKEN instead of ((void *)1)
 * merged fix from SGI PV 990526 "sunrpc: use dprintk instead of
   printk in svc_pool_stats_*()" by Harshula Jayasuriya.
 * merged fix from SGI PV 964001 "Crash reading pool_stats before
   nfsds are started".

Signed-off-by: Greg Banks <gnb@sgi.com>
Signed-off-by: Harshula Jayasuriya <harshula@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-03-18 17:38:42 -04:00
..
auth_gss.h
auth.h
cache.h
clnt.h rpc: pass target name down to rpc level on callbacks 2008-12-23 16:17:40 -05:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h
rpc_pipe_fs.h rpc: add an rpc_pipe_open method 2008-12-23 16:08:32 -05:00
rpc_rdma.h
sched.h
stats.h
svc_rdma.h svcrdma: Modify the RPC recv path to use FRMR when available 2008-10-06 14:46:01 -05:00
svc_xprt.h misc: replace NIPQUAD() 2008-10-31 00:56:49 -07:00
svc.h knfsd: add file to export stats about nfsd pools 2009-03-18 17:38:42 -04:00
svcauth_gss.h nfsd: pass client principal name in rsc downcall 2008-12-23 16:17:15 -05:00
svcauth.h
svcsock.h NLM: Remove unused argument from svc_addsock() function 2008-10-04 17:12:27 -04:00
timer.h
types.h
xdr.h nfs: replace uses of __constant_{endian} 2009-03-18 17:30:51 -04:00
xprt.h sunrpc: get rid of rpc_rqst.rq_bufsize 2008-12-23 16:06:13 -05:00
xprtrdma.h RPC/RDMA: harden connection logic against missing/late rdma_cm upcalls. 2008-10-10 15:13:31 -04:00
xprtsock.h