]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Remove rpcrdma_create_data_internal::rsize and wsize
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:40:15 +0000 (09:40 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:38:30 +0000 (15:38 -0400)
commitabb061f017b06978583c31d823e4dcd4421c00cf
tree0a3919d50058d7c2320cbe02c2d56826dc6950d6
parentbfc2b68e8e632a3ba9d972e315505e88aad43a60
xprtrdma: Remove rpcrdma_create_data_internal::rsize and wsize

Clean up.

xprt_rdma_max_inline_{read,write} cannot be set to large values
by virtue of proc_dointvec_minmax. The current maximum is
RPCRDMA_MAX_INLINE, which is much smaller than RPCRDMA_MAX_SEGS *
PAGE_SIZE.

The .rsize and .wsize fields are otherwise unused in the current
code base, and thus can be removed.

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