[PATCH] knfsd: nfsd4: add per-operation server stats
authorShankar Anand <shanand@novell.com>
Mon, 10 Jul 2006 11:45:44 +0000 (04:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:27 +0000 (13:24 -0700)
commite2b209509ca33743864846aef2e1b2afc21f7915
tree19e7ed73049af78d6c605b326cc433034a2cd50c
parentcd6b3956e9923915da789df1c665976b5583cfb0
[PATCH] knfsd: nfsd4: add per-operation server stats

Add an nfs4 operations count array to nfsd_stats structure.  The count is
incremented in nfsd4_proc_compound() where all the operations are handled
by the nfsv4 server.  This count of individual nfsv4 operations is also
entered into /proc filesystem.

Signed-off-by: Shankar Anand<shanand@novell.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4proc.c
fs/nfsd/stats.c
include/linux/nfs4.h
include/linux/nfsd/stats.h