]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f8058e33fdb9d3f03aa55f922eb653066fe6959
tree02acc159b028040e97995d50f9353022e74d3081
parent6c85ddba8a11a75759c371e88daaf8eeca4c02e9
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