diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 6e19769b46d2..df69dc016a53 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -987,6 +987,22 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt) | |||
987 | if (lscsi_status != 0) { | 987 | if (lscsi_status != 0) { |
988 | cp->result = DID_OK << 16 | lscsi_status; | 988 | cp->result = DID_OK << 16 | lscsi_status; |
989 | 989 | ||
990 | if (lscsi_status == SAM_STAT_TASK_SET_FULL) { | ||
991 | DEBUG2(printk(KERN_INFO | ||
992 | "scsi(%ld): QUEUE FULL status detected " | ||
993 | "0x%x-0x%x.\n", ha->host_no, comp_status, | ||
994 | scsi_status)); | ||
995 | |||
996 | /* | ||
997 | * Adjust queue depth for all luns on the | ||
998 | * port. | ||
999 | */ | ||
1000 | fcport->last_queue_full = jiffies; | ||
1001 | starget_for_each_device( | ||
1002 | cp->device->sdev_target, fcport, | ||
1003 | qla2x00_adjust_sdev_qdepth_down); | ||
1004 | break; | ||
1005 | } | ||
990 | if (lscsi_status != SS_CHECK_CONDITION) | 1006 | if (lscsi_status != SS_CHECK_CONDITION) |
991 | break; | 1007 | break; |
992 | 1008 | ||