diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-10-10 13:52:33 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-11-08 23:43:18 +0100 |
commit | 99b6697a50c2acbe3ca2772d359fc9a28835dc84 (patch) | |
tree | 2c3721c4c7b8f5722e28ec31ef95076f7b0c5381 /drivers/net | |
parent | IB/srp: Remove target from list before freeing Scsi_Host structure (diff) | |
download | linux-99b6697a50c2acbe3ca2772d359fc9a28835dc84.tar.xz linux-99b6697a50c2acbe3ca2772d359fc9a28835dc84.zip |
IB/srp: Avoid offlining operational SCSI devices
If SCSI commands are submitted with a SCSI request timeout that is
lower than the the IB RC timeout, it can happen that the SCSI error
handler has already started device recovery before transport layer
error handling starts. So it can happen that the SCSI error handler
tries to abort a SCSI command after it has been reset by
srp_rport_reconnect().
Tell the SCSI error handler that such commands have finished and that
it is not necessary to continue its recovery strategy for commands
that have been reset by srp_rport_reconnect().
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions