diff options
author | Chuck Lever <cel@citi.umich.edu> | 2005-08-11 16:25:50 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-09-23 12:38:28 -0400 |
commit | c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 (patch) | |
tree | 95f561877d67eed80a823daa6ef0c00ad1c060eb /include | |
parent | 55aa4f58aa43dc9a51fb80010630d94b96053a2e (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.h | 2 |
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 | */ |
242 | void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status); | 242 | void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status); |
243 | void xprt_wait_for_buffer_space(struct rpc_task *task); | ||
244 | void xprt_write_space(struct rpc_xprt *xprt); | ||
243 | struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid); | 245 | struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, u32 xid); |
244 | void xprt_complete_rqst(struct rpc_xprt *xprt, struct rpc_rqst *req, int copied); | 246 | void xprt_complete_rqst(struct rpc_xprt *xprt, struct rpc_rqst *req, int copied); |
245 | void xprt_disconnect(struct rpc_xprt *xprt); | 247 | void xprt_disconnect(struct rpc_xprt *xprt); |