From: Ed Goggin <[EMAIL PROTECTED]>
Return DID_COND_REQUEUE instead of DID_BUS_BUSY for IOC status
is SUCCESS and scsi_status is MPI_SCSI_STATUS_BUSY. Command
will be retried via ADD_TO_MLQUEUE IFF not REQ_FAILFAST.
Signed-off-by: Ed Goggin <[EMAIL PROTECTED]>
diff --git a/drivers/message/fusion/mptscsih.c
b/drivers/message/fusion/mptscsih.c
index f0cca3e..312a75e 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -781,7 +781,7 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_F
case MPI_IOCSTATUS_SCSI_RECOVERED_ERROR: /* 0x0040 */
case MPI_IOCSTATUS_SUCCESS: /* 0x0000 */
if (scsi_status == MPI_SCSI_STATUS_BUSY)
- sc->result = (DID_BUS_BUSY << 16) | scsi_status;
+ sc->result = (DID_COND_REQUEUE << 16) |
scsi_status;
else
sc->result = (DID_OK << 16) | scsi_status;
if (scsi_state == 0) {
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html