diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-10-24 23:27:51 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-11-02 19:45:15 +0100 |
commit | 124fa17d3e33060fbb28e995a42c7f5c8b31b345 (patch) | |
tree | 9bceb1dfc478c07561ae44f3d07540ea79796fd5 /net/sunrpc/debugfs.c | |
parent | xprtrdma: Pre-allocate backward rpc_rqst and send/receive buffers (diff) | |
download | linux-124fa17d3e33060fbb28e995a42c7f5c8b31b345.tar.xz linux-124fa17d3e33060fbb28e995a42c7f5c8b31b345.zip |
xprtrdma: Pre-allocate Work Requests for backchannel
Pre-allocate extra send and receive Work Requests needed to handle
backchannel receives and sends.
The transport doesn't know how many extra WRs to pre-allocate until
the xprt_setup_backchannel() call, but that's long after the WRs are
allocated during forechannel setup.
So, use a fixed value for now.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Tested-By: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/debugfs.c')
0 files changed, 0 insertions, 0 deletions