]> asedeno.scripts.mit.edu Git - linux.git/commit
SUNRPC: Use au_rslack when computing reply buffer size
authorChuck Lever <chuck.lever@oracle.com>
Mon, 11 Feb 2019 16:25:41 +0000 (11:25 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 14 Feb 2019 16:58:44 +0000 (11:58 -0500)
commit2c94b8eca1a26cd46010d6e73a23da5f2e93a19d
treecd90799dc57ddabf330e8540ff939743292162c7
parent35e77d21baa04b554bf3dc9a08dfa7e569286e51
SUNRPC: Use au_rslack when computing reply buffer size

au_rslack is significantly smaller than (au_cslack << 2). Using
that value results in smaller receive buffers. In some cases this
eliminates an extra segment in Reply chunks (RPC/RDMA).

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