aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpt2sas_base.c
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2009-08-07 10:06:43 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-13 17:29:12 -0400
commitbe9e8cd75ce8d94ae4aab721fdcc337fa78a9090 (patch)
treef50d24c4c48aedb92f28d50133e5540b962c343c /drivers/scsi/mpt2sas/mpt2sas_base.c
parent62727a7ba43c0abf2673e3877079c136a9721792 (diff)
[SCSI] mpt2sas: Excessive log info causes sas iounit page time out
Inhibit 0x3117 loginfos - during cable pull, there are too many printks going to the syslog, this is have impact on how fast the interrupt routine can handle keeping up with command completions; this was the root cause to the config pages timeouts. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.c')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index f3da592f7bcc..ed9965e4b96b 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -440,6 +440,10 @@ _base_sas_log_info(struct MPT2SAS_ADAPTER *ioc , u32 log_info)
440 if (sas_loginfo.dw.bus_type != 3 /*SAS*/) 440 if (sas_loginfo.dw.bus_type != 3 /*SAS*/)
441 return; 441 return;
442 442
443 /* each nexus loss loginfo */
444 if (log_info == 0x31170000)
445 return;
446
443 /* eat the loginfos associated with task aborts */ 447 /* eat the loginfos associated with task aborts */
444 if (ioc->ignore_loginfos && (log_info == 30050000 || log_info == 448 if (ioc->ignore_loginfos && (log_info == 30050000 || log_info ==
445 0x31140000 || log_info == 0x31130000)) 449 0x31140000 || log_info == 0x31130000))