]> git.karo-electronics.de Git - linux-beck.git/commit
SUNRPC: RPC metrics and RTT estimator should use same RTT value
authorChuck Lever <chuck.lever@oracle.com>
Fri, 7 May 2010 17:34:27 +0000 (13:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 May 2010 19:09:32 +0000 (15:09 -0400)
commitbbc72cea58f671665b6362be0d4e391813ac0eee
treee70a35d3bc05ece4a532514893fec151aee2bd46
parent9bc4e3ca46e4eb9cb434de4175c6041d00bbdca3
SUNRPC: RPC metrics and RTT estimator should use same RTT value

Compute an RPC request's RTT once, and use that value both for reporting
RPC metrics, and for adjusting the RTT context used by the RPC client's RTT
estimator algorithm.

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