OpenCloudOS-Kernel/drivers/scsi/aic94xx
Dan Williams 26a2e68f81 [SCSI] libsas: don't recover end devices attached to disabled phys
If userspace has decided to disable a phy the kernel should honor that
and not inadvertantly re-enable the phy via error recovery.  This is
more straightforward in the sata case where link recovery (via
libata-eh) is separate from sas_task cancelling in libsas-eh.  Teach
libsas to accept -ENODEV as a successful response from I_T_nexus_reset
('successful' in terms of not escalating further).

This is a more comprehensive fix then "libsas: don't recover 'gone'
devices in sas_ata_hard_reset()", as it is no longer sata-specific.

aic94xx does check the return value from sas_phy_reset() so if the phy
is disabled we proceed with clearing the I_T_nexus.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-02-29 15:42:51 -06:00
..
Kconfig
Makefile scsi: change to new flag variable 2011-03-17 14:05:35 +01:00
aic94xx.h [SCSI] libsas: use ->set_dmamode to notify lldds of NCQ parameters 2012-02-19 13:55:42 -06:00
aic94xx_dev.c [SCSI] libsas: use ->set_dmamode to notify lldds of NCQ parameters 2012-02-19 13:55:42 -06:00
aic94xx_dump.c aix94xx: Use angle brackets for system includes 2011-09-15 14:02:57 +02:00
aic94xx_dump.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_hwi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
aic94xx_hwi.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_init.c [SCSI] libsas: async ata scanning 2012-02-29 15:35:41 -06:00
aic94xx_reg.c [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_reg.h
aic94xx_reg_def.h Fix common misspellings 2011-03-31 11:26:23 -03:00
aic94xx_sas.h [SCSI] aic94xx: fix ABORT_TASK define conflict 2008-02-11 13:36:31 -06:00
aic94xx_scb.c [SCSI] isci: export phy events via ->lldd_control_phy() 2011-10-02 13:24:26 -05:00
aic94xx_sds.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
aic94xx_sds.h aic94xx: treat firmware data as const 2008-07-10 14:26:15 +01:00
aic94xx_seq.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
aic94xx_seq.h [SCSI] aic94xx: cleanups 2008-04-07 12:19:08 -05:00
aic94xx_task.c [SCSI] Unify SAM_ and SAM_STAT_ macros 2010-07-28 09:07:49 -05:00
aic94xx_tmf.c [SCSI] libsas: don't recover end devices attached to disabled phys 2012-02-29 15:42:51 -06:00