diff options
author | 2015-08-03 13:03:49 -0400 | |
---|---|---|
committer | 2015-08-05 16:21:27 -0400 | |
commit | 5457ced0b504b41afe9439a6533066dea2fc0e1a (patch) | |
tree | a609ee8cf9c21fe64975759d80471aa88d159ddd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xprtrdma: Remove logic that constructs RDMA_MSGP type calls (diff) | |
download | linux-dev-5457ced0b504b41afe9439a6533066dea2fc0e1a.tar.xz linux-dev-5457ced0b504b41afe9439a6533066dea2fc0e1a.zip |
xprtrdma: Account for RPC/RDMA header size when deciding to inline
When the size of the RPC message is near the inline threshold (1KB),
the client would allow messages to be sent that were a few bytes too
large.
When marshaling RPC/RDMA requests, ensure the combined size of
RPC/RDMA header and RPC header do not exceed the inline threshold.
Endpoints typically reject RPC/RDMA messages that exceed the size
of their receive buffers.
The two server implementations I test with (Linux and Solaris) use
receive buffers that are larger than the client’s inline threshold.
Thus so far this has been benign, observed only by code inspection.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Devesh Sharma <devesh.sharma@avagotech.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions