mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
26a2e68f81
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sas_ata.c | ||
sas_discover.c | ||
sas_dump.c | ||
sas_dump.h | ||
sas_event.c | ||
sas_expander.c | ||
sas_host_smp.c | ||
sas_init.c | ||
sas_internal.h | ||
sas_phy.c | ||
sas_port.c | ||
sas_scsi_host.c | ||
sas_task.c |