SUNRPC: introduce per-task RPC iostats
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:17 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:17 +0000 (13:44 -0500)
commitef759a2e54ed434b2f72b52a14edecd6d4eadf74
treeaa495ef4691387839146683dfae0f0084fbe6137
parent262ca07de4d7f1bff20361c1353bb14b3607afb2
SUNRPC: introduce per-task RPC iostats

Account for various things that occur while an RPC task is executed.
Separate timers for RPC round trip and RPC execution time show how
long RPC requests wait in queue before being sent.  Eventually these
will be accumulated at xprt_release time in one place where they can
be viewed from userland.

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/sched.h
net/sunrpc/clnt.c
net/sunrpc/sched.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c