support: Set proper retransmit timeout for datagram transports
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Jul 2009 20:18:37 +0000 (16:18 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 14 Jul 2009 20:18:37 +0000 (16:18 -0400)
commitd0280c201a47cce4aadcfa610b8e03865cce5c5e
treef837058cefba41b543b52d118ad61d3ea5b10d66
parent56a1b590d2f60e62feb3589a7b5b6fab2fed75f7
support: Set proper retransmit timeout for datagram transports

Instead of setting the total timeout and the retransmit timeout to the
same value for datagram transports, use a 1 second retransmit timeout,
so we actually get a retransmit or two before failing.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/nfs/rpc_socket.c