[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>
This commit is contained in:

committato da
James Bottomley

parent
9277699121
commit
43a5ab151f
@@ -24,6 +24,7 @@
|
||||
#include <linux/scatterlist.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/async.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#include <scsi/sas_ata.h>
|
||||
#include "sas_internal.h"
|
||||
@@ -757,6 +758,7 @@ void sas_ata_schedule_reset(struct domain_device *dev)
|
||||
ata_port_schedule_eh(ap);
|
||||
spin_unlock_irqrestore(ap->lock, flags);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sas_ata_schedule_reset);
|
||||
|
||||
void sas_ata_wait_eh(struct domain_device *dev)
|
||||
{
|
||||
|
Fai riferimento in un nuovo problema
Block a user