android_kernel_samsung_msm8976/fs/nfsd
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.c nfsd: fix cred leak on every rpc 2009-01-27 17:26:59 -05:00
auth.h
export.c
Kconfig nfsd : Define NFSD only when FILE_LOCKING is enabled 2009-03-18 17:30:48 -04:00
lockd.c
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c Short write in nfsd becomes a full write to the client 2009-03-18 17:38:40 -04:00
nfs3xdr.c
nfs4acl.c
nfs4callback.c nfsd4: move rpc_client setup to a separate function 2009-03-18 17:38:39 -04:00
nfs4idmap.c
nfs4proc.c nfsd4: remove redundant check from nfsd4_open 2009-03-18 17:38:41 -04:00
nfs4recover.c nfsd4: don't do lookup within readdir in recovery code 2009-03-18 17:38:40 -04:00
nfs4state.c nfsd4: remove use of mutex for file_hashtable 2009-03-18 17:38:38 -04:00
nfs4xdr.c nfsd4: support putpubfh operation 2009-03-18 17:38:40 -04:00
nfscache.c
nfsctl.c knfsd: add file to export stats about nfsd pools 2009-03-18 17:38:42 -04:00
nfsfh.c
nfsproc.c Short write in nfsd becomes a full write to the client 2009-03-18 17:38:40 -04:00
nfssvc.c knfsd: add file to export stats about nfsd pools 2009-03-18 17:38:42 -04:00
nfsxdr.c
stats.c
vfs.c Short write in nfsd becomes a full write to the client 2009-03-18 17:38:40 -04:00