[PATCH] RPC: introduce client-side transport switch
Move the bulk of client-side socket-specific code into a separate source file, net/sunrpc/xprtsock.c. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Destructive testing (unplugging the network temporarily, server reboots). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:03:38 -0400 Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:

committed by
Trond Myklebust

parent
094bb20b9f
commit
a246b0105b
@@ -525,8 +525,7 @@ rpc_setbufsize(struct rpc_clnt *clnt, unsigned int sndsize, unsigned int rcvsize
|
||||
xprt->rcvsize = 0;
|
||||
if (rcvsize)
|
||||
xprt->rcvsize = rcvsize + RPC_SLACK_SPACE;
|
||||
if (xprt_connected(xprt))
|
||||
xprt_sock_setbufsize(xprt);
|
||||
xprt->ops->set_buffer_size(xprt);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user