SUNRPC: add a handful of per-xprt counters
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:16 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:16 +0000 (13:44 -0500)
commit262ca07de4d7f1bff20361c1353bb14b3607afb2
treee448a66b4549bbd660f76e81da0067d762a4732e
parente19b63dafdf7d615b0d36b90990a07e7792b9d3a
SUNRPC: add a handful of per-xprt counters

Monitor generic transport events.  Add a transport switch callout to
format transport counters for export to user-land.

Test plan:
Compile kernel with CONFIG_NFS enabled.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/pmap_clnt.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c