]> asedeno.scripts.mit.edu Git - linux.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)
commitfd5951742dbc8c3695151e3f46b2fe2c4dac3559
tree0a3919d50058d7c2320cbe02c2d56826dc6950d6
parent1f7d1c73c58a3d07a951ce23acfb4ec91a31d1e9
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