kernel-fxtec-pro1x/drivers/scsi/libsas
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 [SCSI] libsas: convert to standard kernel debugging 2011-01-24 12:05:38 -06:00
Makefile Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:14:55 -07:00
sas_ata.c [SCSI] libsas: don't recover end devices attached to disabled phys 2012-02-29 15:42:51 -06:00
sas_discover.c [SCSI] libsas: set attached device type and target protocols for local phys 2012-02-29 15:40:33 -06:00
sas_dump.c [SCSI] libsas: convert to standard kernel debugging 2011-01-24 12:05:38 -06:00
sas_dump.h [SCSI] libsas: convert to standard kernel debugging 2011-01-24 12:05:38 -06:00
sas_event.c [SCSI] libsas: fix sas_unregister_ports vs sas_drain_work 2012-02-29 15:27:09 -06:00
sas_expander.c [SCSI] libsas: fixup target_port_protocols for expanders that don't report sata 2012-02-29 15:41:51 -06:00
sas_host_smp.c [SCSI] libsas: route local link resets through ata-eh 2012-02-29 15:25:32 -06:00
sas_init.c [SCSI] libsas: don't recover end devices attached to disabled phys 2012-02-29 15:42:51 -06:00
sas_internal.h [SCSI] libsas: set attached device type and target protocols for local phys 2012-02-29 15:40:33 -06:00
sas_phy.c [SCSI] libsas: replace event locks with atomic bitops 2012-02-19 13:41:04 -06:00
sas_port.c [SCSI] libsas: set attached device type and target protocols for local phys 2012-02-29 15:40:33 -06:00
sas_scsi_host.c [SCSI] libsas: don't recover end devices attached to disabled phys 2012-02-29 15:42:51 -06:00
sas_task.c scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required 2011-10-31 19:31:23 -04:00