]> err.no Git - linux-2.6/commit
SUNRPC: Fix bytes-per-op accounting for RPC over UDP
authorChuck Lever <chuck.lever@oracle.com>
Mon, 24 Sep 2007 19:40:00 +0000 (15:40 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:18:19 +0000 (17:18 -0400)
commit1321d8d971028e796978f6a48d195c09158b3bcd
tree6a778f7b7f829d1155a1d62fb04cff732f613a08
parentbcf35617a7c3474ad12892dfbb089a572e5c06d2
SUNRPC: Fix bytes-per-op accounting for RPC over UDP

NFS performance metrics reported zero bytes sent per op when mounting with
UDP.  The UDP socket transport wasn't properly counting the number of bytes
sent.

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