aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2020-06-15 09:21:13 -0400
committerAnna Schumaker <[email protected]>2020-06-22 09:34:35 -0400
commit7b2182ec381f8ea15c7eb1266d6b5d7da620ad93 (patch)
treef8744753ffc67508ffba1f09ef9845ba6a3e9e39 /tools/perf/scripts/python/export-to-sqlite.py
parentc487eb7d8e41579d87216ce43152acd336f2c4aa (diff)
xprtrdma: Fix handling of RDMA_ERROR replies
The RPC client currently doesn't handle ERR_CHUNK replies correctly. rpcrdma_complete_rqst() incorrectly passes a negative number to xprt_complete_rqst() as the number of bytes copied. Instead, set task->tk_status to the error value, and return zero bytes copied. In these cases, return -EIO rather than -EREMOTEIO. The RPC client's finite state machine doesn't know what to do with -EREMOTEIO. Additional clean ups: - Don't double-count RDMA_ERROR replies - Remove a stale comment Signed-off-by: Chuck Lever <[email protected]> Cc: <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions