From: Matthew Wilcox Date: Fri, 20 Feb 2009 13:53:48 +0000 (-0700) Subject: [SCSI] sd: Don't try to spin up drives that are connected to an inactive port X-Git-Tag: v2.6.29~41^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33dd6f92a1a7ad85c54d47fd9d73371a32c0bde4;p=pandora-kernel.git [SCSI] sd: Don't try to spin up drives that are connected to an inactive port We currently try to spin up drives connected to standby and unavailable ports. This will never succeed and wastes a lot of time. Fail quickly if the sense data reports the port is in standby or unavailable state. Reported-by: Narayanan Rengarajan Tested-by: Narayanan Rengarajan Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed