[PATCH] RPC: separate TCP and UDP write space callbacks
authorChuck Lever <cel@citi.umich.edu>
Thu, 11 Aug 2005 20:25:50 +0000 (16:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:28 +0000 (12:38 -0400)
commitc7b2cae8a634015b72941ba2fc6c4bc9b8d3a129
tree95f561877d67eed80a823daa6ef0c00ad1c060eb
parent55aa4f58aa43dc9a51fb80010630d94b96053a2e
[PATCH] RPC: separate TCP and UDP write space callbacks

 Split the socket write space callback function into a TCP version and UDP
 version, eliminating one dependence on the "xprt->stream" variable.

 Keep the common pieces of this path in xprt.c so other transports can use
 it too.

 Test-plan:
 Write-intensive workload on a single mount point.

 Version: Thu, 11 Aug 2005 16:07:51 -0400

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