diff options
author | Mike Miller <mikem@beardog.cce.hp.com> | 2010-02-25 15:03:12 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 08:06:48 -0500 |
commit | 31468401ccf64322ca99fe05fbe64f1551240f57 (patch) | |
tree | e74aca4b1f6bda2aec3d84d0296361f86a48da67 /drivers/scsi/hpsa.h | |
parent | e9ea04a65ad842452cbee92b5c865af7fed17f63 (diff) |
[SCSI] hpsa: remove scan thread
The intent of the scan thread was to allow a UNIT ATTENTION/LUN
DATA CHANGED condition encountered in the interrupt handler
to trigger a rescan of devices, which can't be done in interrupt
context. However, we weren't able to get this to work, due to
multiple such UNIT ATTENTION conditions arriving during the rescan,
during updating of the SCSI mid layer, etc. There's no way to tell
the devices, "stand still while I scan you!" Since it doesn't work,
there's no point in having the thread, as the rescan triggered via
ioctl or sysfs can be done without such a thread.
Signed-off-by: Mike Miller <mikem@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r-- | drivers/scsi/hpsa.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index a0502b3ac17e..fc15215145d9 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h | |||
@@ -97,9 +97,6 @@ struct ctlr_info { | |||
97 | int scan_finished; | 97 | int scan_finished; |
98 | spinlock_t scan_lock; | 98 | spinlock_t scan_lock; |
99 | wait_queue_head_t scan_wait_queue; | 99 | wait_queue_head_t scan_wait_queue; |
100 | struct mutex busy_shutting_down; | ||
101 | struct list_head scan_list; | ||
102 | struct completion scan_wait; | ||
103 | 100 | ||
104 | struct Scsi_Host *scsi_host; | 101 | struct Scsi_Host *scsi_host; |
105 | spinlock_t devlock; /* to protect hba[ctlr]->dev[]; */ | 102 | spinlock_t devlock; /* to protect hba[ctlr]->dev[]; */ |