aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-01-10 17:39:13 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-02-29 16:20:55 -0500
commit7d05919aad080074453de880822fe5805875645f (patch)
treedf78c12a7bfc9acaefd91d2a8852dca17c178790 /include/scsi
parent45c73b65194173e77030d5b95abe5b63a402d268 (diff)
[SCSI] libsas: mark all domain devices gone if root port disappears
If the top level expander is hot removed, mark all child devices as gone before unregistration to short circuit futile recovery. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libsas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index 55bab8633807..4a42be34fad0 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -664,7 +664,7 @@ void sas_init_ex_attr(void);
664 664
665int sas_ex_revalidate_domain(struct domain_device *); 665int sas_ex_revalidate_domain(struct domain_device *);
666 666
667void sas_unregister_domain_devices(struct asd_sas_port *port); 667void sas_unregister_domain_devices(struct asd_sas_port *port, int gone);
668void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *); 668void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *);
669int sas_discover_event(struct asd_sas_port *, enum discover_event ev); 669int sas_discover_event(struct asd_sas_port *, enum discover_event ev);
670 670