diff options
author | Chuck Lever <cel@citi.umich.edu> | 2005-08-11 16:25:56 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-09-23 12:38:31 -0400 |
commit | 262965f53defd312a294b45366ea17907b6a616b (patch) | |
tree | a5e0f194c02f230ff12d9d5b0933bad9eb8810ea /include/linux/sunrpc/msg_prot.h | |
parent | b0d93ad511ce2f37823a07c7a3258117a431f5fb (diff) |
[PATCH] RPC: separate TCP and UDP socket write paths
Split the RPC client's main socket write path into a TCP version and a UDP
version to eliminate another dependency on the "xprt->stream" variable.
Compiler optimization removes unneeded code from xs_sendpages, as this
function is now called with some constant arguments.
We can now cleanly perform transport protocol-specific return code testing
and error recovery in each path.
Test-plan:
Millions of fsx operations. Performance characterization such as
"sio" or "iozone". Examine oprofile results for any changes before and
after this patch is applied.
Version: Thu, 11 Aug 2005 16:08:46 -0400
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/msg_prot.h')
0 files changed, 0 insertions, 0 deletions