diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2013-12-04 18:10:07 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-19 23:56:29 -0500 |
commit | 8a98db7386b5fed82dc1df25c904b6d0ae32a2cb (patch) | |
tree | 420021744c5931fd0a6b66a60582f16b0077f761 /drivers/scsi/hpsa.h | |
parent | 95d8a25b52d551f631595ae4b5883d22a8d85a52 (diff) |
[SCSI] hpsa: use workqueue instead of kernel thread for lockup detection
Much simpler and avoids races starting/stopping the thread.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 5f3f72f90bc9..01c328349c83 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h | |||
@@ -135,7 +135,8 @@ struct ctlr_info { | |||
135 | u32 heartbeat_sample_interval; | 135 | u32 heartbeat_sample_interval; |
136 | atomic_t firmware_flash_in_progress; | 136 | atomic_t firmware_flash_in_progress; |
137 | u32 lockup_detected; | 137 | u32 lockup_detected; |
138 | struct list_head lockup_list; | 138 | struct delayed_work monitor_ctlr_work; |
139 | int remove_in_progress; | ||
139 | u32 fifo_recently_full; | 140 | u32 fifo_recently_full; |
140 | /* Address of h->q[x] is passed to intr handler to know which queue */ | 141 | /* Address of h->q[x] is passed to intr handler to know which queue */ |
141 | u8 q[MAX_REPLY_QUEUES]; | 142 | u8 q[MAX_REPLY_QUEUES]; |