diff options
author | Mike Christie <mchristi@redhat.com> | 2008-11-05 04:47:19 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-11-05 20:48:23 +0300 |
commit | 939c2288c35132fe340b2694c7d02cacf7593723 (patch) | |
tree | 17eb0c6c2a9fba59283e27e154819cdbc22deb7a /drivers/scsi/dpt_i2o.c | |
parent | d94ce6c6e99252ab2ba340b0398c8651713a9f05 (diff) | |
download | linux-939c2288c35132fe340b2694c7d02cacf7593723.tar.xz |
[SCSI] scsi_error regression: Fix idempotent command handling
Drivers want to be able to return DID_TRANSPORT_DISRUPTED and
have it do the right thing for commands like tape and passthrouh
as far as retries go. The LLDs previously used DID_BUS_BUSY or DID_ERROR
which followed the cmd->retries limit, but DID_TRANSPORT_DISRUPTED
was skipping that check so it could have caused a problem with tape
commands.
This patch has DID_TRANSPORT_DISRUPTED check the cmd->retries/cmd->allowed.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/dpt_i2o.c')
0 files changed, 0 insertions, 0 deletions