xprtrdma: Reset connection timeout after successful reconnect
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 May 2014 14:34:41 +0000 (10:34 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:51 +0000 (08:56 -0400)
commit18906972aa1103c07869c9b43860a52e0e27e8e5
tree02acc159b028040e97995d50f9353022e74d3081
parentbfaee096deaa680195df5491eb650f81051c145d
xprtrdma: Reset connection timeout after successful reconnect

If the new connection is able to make forward progress, reset the
re-establish timeout. Otherwise it keeps growing even if disconnect
events are rare.

The same behavior as TCP is adopted: reconnect immediately if the
transport instance has been able to make some forward progress.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c