From 8a98db7386b5fed82dc1df25c904b6d0ae32a2cb Mon Sep 17 00:00:00 2001 From: "Stephen M. Cameron" Date: Wed, 4 Dec 2013 17:10:07 -0600 Subject: [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 Signed-off-by: James Bottomley --- drivers/scsi/hpsa.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/scsi/hpsa.h') 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 { u32 heartbeat_sample_interval; atomic_t firmware_flash_in_progress; u32 lockup_detected; - struct list_head lockup_list; + struct delayed_work monitor_ctlr_work; + int remove_in_progress; u32 fifo_recently_full; /* Address of h->q[x] is passed to intr handler to know which queue */ u8 q[MAX_REPLY_QUEUES]; -- cgit v1.2.3