diff options
author | Sreekanth Reddy <Sreekanth.Reddy@lsi.com> | 2012-12-18 14:45:30 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-01-29 04:15:35 +0100 |
commit | b4730fb6e54a634a145c9c71c5cf856f00beb5cd (patch) | |
tree | 4de4c1d147ef66585909bfa6c63fc5e853788fbd /drivers/scsi/mpt2sas/mpt2sas_base.h | |
parent | [SCSI] mpt3sas: remove unused variables (diff) | |
download | linux-b4730fb6e54a634a145c9c71c5cf856f00beb5cd.tar.xz linux-b4730fb6e54a634a145c9c71c5cf856f00beb5cd.zip |
[SCSI] mpt2sas: fix for driver fails EEH, recovery from injected pci bus error
This patch stops the driver to invoke kthread (which remove the dead ioc)
for some time while EEH recovery has started.
[thenzl: add a 'non_operational_loop' reset.]
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 543d8d637479..c6ee7aad7501 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h @@ -835,6 +835,7 @@ struct MPT2SAS_ADAPTER { u16 cpu_msix_table_sz; u32 ioc_reset_count; MPT2SAS_FLUSH_RUNNING_CMDS schedule_dead_ioc_flush_running_cmds; + u32 non_operational_loop; /* internal commands, callback index */ u8 scsi_io_cb_idx; |