diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-12-09 02:20:44 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-29 16:13:40 -0500 |
commit | 43a5ab151f0268459c4368292c2ddb2266b8f243 (patch) | |
tree | e8ee97e0d49bc0c454ca90f16a836fd01830b11f /drivers/scsi/libsas/sas_ata.c | |
parent | 9277699121b81891e303ada0a53fa1d04b7ffe72 (diff) |
[SCSI] isci: stop interpreting ->lldd_lu_reset() as an ata soft-reset
Driving resets from libsas-eh is pre-mature as libata will make a
decision about performing a softreset. Currently libata determines
whether to perform a softreset based on ata_eh_followup_srst_needed(),
and none of those conditions apply to isci.
Remove the srst implementation and translate ->lldd_lu_reset() for ata
devices as a request to drive a reset via libata-eh.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_ata.c')
-rw-r--r-- | drivers/scsi/libsas/sas_ata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index 0cb538f8478a..37a9e73870d4 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/scatterlist.h> | 24 | #include <linux/scatterlist.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/async.h> | 26 | #include <linux/async.h> |
27 | #include <linux/export.h> | ||
27 | 28 | ||
28 | #include <scsi/sas_ata.h> | 29 | #include <scsi/sas_ata.h> |
29 | #include "sas_internal.h" | 30 | #include "sas_internal.h" |
@@ -757,6 +758,7 @@ void sas_ata_schedule_reset(struct domain_device *dev) | |||
757 | ata_port_schedule_eh(ap); | 758 | ata_port_schedule_eh(ap); |
758 | spin_unlock_irqrestore(ap->lock, flags); | 759 | spin_unlock_irqrestore(ap->lock, flags); |
759 | } | 760 | } |
761 | EXPORT_SYMBOL_GPL(sas_ata_schedule_reset); | ||
760 | 762 | ||
761 | void sas_ata_wait_eh(struct domain_device *dev) | 763 | void sas_ata_wait_eh(struct domain_device *dev) |
762 | { | 764 | { |