]> asedeno.scripts.mit.edu Git - linux.git/commit
SUNRPC: Remove rpc_xprt::tsh_size
authorChuck Lever <chuck.lever@oracle.com>
Mon, 11 Feb 2019 16:24:37 +0000 (11:24 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 13 Feb 2019 18:14:35 +0000 (13:14 -0500)
commit067fb11b12af1448f7bbcacca41e470cb775e9fa
tree22bb526dc0c5ff6ea1707206b0c5253e3f7c2ca0
parent80125d4ae70aff049b170dd21ea5d007694d629a
SUNRPC: Remove rpc_xprt::tsh_size

tsh_size was added to accommodate transports that send a pre-amble
before each RPC message. However, this assumes the pre-amble is
fixed in size, which isn't true for some transports. That makes
tsh_size not very generic.

Also I'd like to make the estimation of RPC send and receive
buffer sizes more precise. tsh_size doesn't currently appear to be
accounted for at all by call_allocate.

Therefore let's just remove the tsh_size concept, and make the only
transports that have a non-zero tsh_size employ a direct approach.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/clnt.c
net/sunrpc/svc.c
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c