]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Modernize ops->connect
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Jun 2019 14:33:42 +0000 (10:33 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 9 Jul 2019 14:30:25 +0000 (10:30 -0400)
commite3039b3d6d493c4b12d75d1b83e4672f5c40e0af
treecfd637f2913a11b2ff2c71669fcbf7bb6250a6ee
parentd22a8af51c81089ea6b14587e0c777621b89eb7b
xprtrdma: Modernize ops->connect

Adapt and apply changes that were made to the TCP socket connect
code. See the following commits for details on the purpose of
these changes:

Commit 6406d528d4b0 ("SUNRPC: Allow changing of the TCP timeout parameters on the fly")
Commit 4132e2ae71d9 ("SUNRPC: Limit the reconnect backoff timer to the max RPC message timeout")
Commit 91a4d6dab43e ("SUNRPC: Fix reconnection timeouts")

Some common transport code is moved to xprt.c to satisfy the code
duplication police.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xprt.h
include/trace/events/rpcrdma.h
net/sunrpc/sched.c
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/xprt_rdma.h
net/sunrpc/xprtsock.c