SUNRPC: display human-readable procedure name in rpc_iostats output
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:22 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:22 +0000 (13:44 -0500)
commitcc0175c1dc1de8f6af0eb0631dcc5b999a6fcc42
treeb219a9c16f0ef3ff0982450c32aa0f09d503782a
parent4ece3a2d18fd7fe1d4972284a8c98c569020093f
SUNRPC: display human-readable procedure name in rpc_iostats output

Add fields to the rpc_procinfo struct that allow the display of a
human-readable name for each procedure in the rpc_iostats output.

Also fix it so that the NFSv4 stats are broken up correctly by
sub-procedure number.  NFSv4 uses only two real RPC procedures:
NULL, and COMPOUND.

Test plan:
Mount with NFSv2, NFSv3, and NFSv4, and do "cat /proc/self/mountstats".

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/mon.c
fs/lockd/xdr.c
fs/lockd/xdr4.c
fs/nfs/mount_clnt.c
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c
fs/nfsd/nfs4callback.c
include/linux/sunrpc/clnt.h
net/sunrpc/pmap_clnt.c
net/sunrpc/stats.c