]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Faster server reboot recovery
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 May 2016 18:43:03 +0000 (14:43 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:04 +0000 (15:48 -0400)
commit8af236663927c55da3960f2dc605bac79dede983
tree431a60c0c877faa819b9c6892fc5c49f492f23e4
parentecae5e74baf2e2c8ad9cf2f4e51582507d7066bd
xprtrdma: Faster server reboot recovery

In a cluster failover scenario, it is desirable for the client to
attempt to reconnect quickly, as an alternate NFS server is already
waiting to take over for the down server. The client can't see that
a server IP address has moved to a new server until the existing
connection is gone.

For fabrics and devices where it is meaningful, set a definite upper
bound on the amount of time before it is determined that a
connection is no longer valid. This allows the RPC client to detect
connection loss in a timely matter, then perform a fresh resolution
of the server GUID in case it has changed (cluster failover).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c