diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-10-26 17:22:04 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-30 06:35:01 -0400 |
commit | a0c124137a40fc22730ae87caf17e821f2dce1ed (patch) | |
tree | 93f2b17ee632867a34236d2b4f70dd88a65cac10 /drivers/scsi/hpsa.h | |
parent | bb158eabda984851d7964d968b9859383f98a701 (diff) |
[SCSI] hpsa: detect controller lockup
When controller lockup condition is detected,
we should fail all outstanding commands and disable
the controller. This will enable multipath solutions
to recover gracefully.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r-- | drivers/scsi/hpsa.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 73858bc22e57..91edafb8c7e6 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h | |||
@@ -121,6 +121,11 @@ struct ctlr_info { | |||
121 | unsigned char reply_pool_wraparound; | 121 | unsigned char reply_pool_wraparound; |
122 | u32 *blockFetchTable; | 122 | u32 *blockFetchTable; |
123 | unsigned char *hba_inquiry_data; | 123 | unsigned char *hba_inquiry_data; |
124 | u64 last_intr_timestamp; | ||
125 | u32 last_heartbeat; | ||
126 | u64 last_heartbeat_timestamp; | ||
127 | u32 lockup_detected; | ||
128 | struct list_head lockup_list; | ||
124 | }; | 129 | }; |
125 | #define HPSA_ABORT_MSG 0 | 130 | #define HPSA_ABORT_MSG 0 |
126 | #define HPSA_DEVICE_RESET_MSG 1 | 131 | #define HPSA_DEVICE_RESET_MSG 1 |