]> git.baikalelectronics.ru Git - kernel.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)
commitc832dca4418b58532356bc233b5ce1d0e0e6b530
treecd90799dc57ddabf330e8540ff939743292162c7
parent0ccc072b52260e106d5205d54d3b9f72f963e6f3
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