diff options
author | Bart Van Assche <[email protected]> | 2016-04-22 14:14:15 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-05-12 14:18:56 -0400 |
commit | ffc548bb3601f0250474afcfa10ceb0b8b8b9764 (patch) | |
tree | 5aa96222de3017d7d3cea3182b678aaa2b7223a4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fa9863f869202a4ccc673cbd8dd326bf54a8efff (diff) |
IB/srp: Avoid that mapping failure triggers an infinite loop
The srp_queuecommand() function translates ENOMEM into QUEUE_FULL
which causes the SCSI mid-layer to retry the command. All other
error codes are translated into DID_ERROR which causes the SCSI
command to fail. Return E2BIG if mapping will always fail to
prevent that the SCSI mid-layer keeps resubmitting a command
forever.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Laurence Oberman <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions