summary refs log tree commit diff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorChuck Lever <cel@netapp.com>2005-08-25 16:25:55 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-09-23 12:38:52 -0400
commit3167e12c0c424f3c323944701615343022d86418 (patch)
tree952961988fe19c19fc63f9cffb5edb4566f3527f /net/sunrpc/xprt.c
parent529b33c6db0120126b1381faa51406dc463acdc9 (diff)
downloadlinux-3167e12c0c424f3c323944701615343022d86418.tar.gz
[PATCH] RPC: make sure to get the same local port number when reconnecting
 Implement a best practice: if the remote end drops our connection, try to
 reconnect using the same port number.  This is important because the NFS
 server's Duplicate Reply Cache often hashes on the source port number.
 If the client reuses the port number when it reconnects, the server's DRC
 will be more effective.

 Based on suggestions by Mike Eisler, Olaf Kirch, and Alexey Kuznetsky.

 Test-plan:
 Destructive testing.

 Signed-off-by: Chuck Lever <cel@netapp.com>
 Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions