[PATCH] libata-hp: implement SCSI part of hotplug

Implement SCSI part of hotplug.

This must be done in a separate context as SCSI makes use of EH during
probing.  SCSI scan fails silently if EH is in progress.  In such
cases, libata pauses briefly and retries until every device is
attached.

Signed-off-by: Tejun Heo <htejun@gmail.com>
This commit is contained in:
Tejun Heo
2006-05-31 18:28:05 +09:00
parent 084fe639b8
commit 580b210232
5 changed files with 124 additions and 2 deletions

View File

@@ -521,7 +521,7 @@ struct ata_port {
struct ata_host_set *host_set;
struct device *dev;
struct work_struct port_task;
struct work_struct port_task, hotplug_task;
unsigned int hsm_task_state;