From: Dan Williams Date: Thu, 1 Dec 2011 07:23:33 +0000 (-0800) Subject: [SCSI] libsas: use libata-eh-reset for sata rediscovery fis transmit failures X-Git-Tag: v3.4-rc1~145^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b52df4174dff7e587f6fbfb21e3c2cb57109e5cf;p=pandora-kernel.git [SCSI] libsas: use libata-eh-reset for sata rediscovery fis transmit failures Since sata devices can take several seconds to recover the link on reset the 0.5 seconds that libsas currently waits may not be enough. Instead if we are rediscovering a phy that was previously attached to a sata device let libata handle any resets to encourage the device to transmit the initial fis. Once sas_ata_hard_reset() and lldds learn how to honor 'deadline' libsas should stop encountering phys in an intermediate state, until then this will loop until the fis is transmitted or ->attached_sas_addr gets cleared, but in the more likely initial discovery case we keep existing behavior. Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- Reading git-diff-tree failed