diff options
author | Bart Van Assche <[email protected]> | 2016-02-11 11:07:11 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-02-29 17:12:35 -0500 |
commit | 49f40163b66e02acdcdfdd2bf46239683d65806d (patch) | |
tree | 0b4e3c75b84dc71a97632a07e0eb92871d2daa41 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2c7f37ff1c33087b8a4567730ebb128e8572da5e (diff) |
IB/srpt: Fix how aborted commands are processed
srpt_abort_cmd() must not be called in state SRPT_STATE_DATA_IN. Issue
a warning if this occurs.
srpt_abort_cmd() must not invoke target_put_sess_cmd() for commands
in state SRPT_STATE_DONE because the srpt_abort_cmd() callers already
do this when necessary. Hence remove this call.
If an RDMA read fails the corresponding SCSI command must fail. Hence
add a transport_generic_request_failure() call.
Remove an incorrect srpt_abort_cmd() call from srpt_rdma_write_done().
Avoid that srpt_send_done() calls srpt_abort_cmd() for finished SCSI
commands.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Alex Estrin <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions