aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChuck Lever <cel@citi.umich.edu>2005-08-11 16:25:50 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-09-23 12:38:28 -0400
commitc7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 (patch)
tree95f561877d67eed80a823daa6ef0c00ad1c060eb /include
parent55aa4f58aa43dc9a51fb80010630d94b96053a2e (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/xprt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index bfbc492ae36d..e73174c7e450 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -240,6 +240,8 @@ int xprt_destroy(struct rpc_xprt *xprt);
240 * Transport switch helper functions 240 * Transport switch helper functions
241 */ 241 */
242void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status); 242void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status);
243void xprt_wait_for_buffer_space(struct rpc_task *task);
244void xprt_write_space(struct rpc_xprt *xprt);
243struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid); 245struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid);
244void xprt_complete_rqst(struct rpc_xprt *xprt, struct rpc_rqst *req, int copied); 246void xprt_complete_rqst(struct rpc_xprt *xprt, struct rpc_rqst *req, int copied);
245void xprt_disconnect(struct rpc_xprt *xprt); 247void xprt_disconnect(struct rpc_xprt *xprt);