]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Aggregate the inline settings in struct rpcrdma_ep
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:40:20 +0000 (09:40 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:39:16 +0000 (15:39 -0400)
commitda1c908e880fad3ce470c88c4623e89d31156fb3
tree23b97b600a23ca4661b5450578fffba60303ee4b
parente454b56aaa5920c70d5cdc428e8fa365348b2202
xprtrdma: Aggregate the inline settings in struct rpcrdma_ep

Clean up.

The inline settings are actually a characteristic of the endpoint,
and not related to the device. They are also modified after the
transport instance is created, so they do not belong in the cdata
structure either.

Lastly, let's use names that are more natural to RDMA than to NFS:
inline_write -> inline_send and inline_read -> inline_recv. The
/proc files retain their names to avoid breaking user space.

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