diff options
author | Matthew Wilcox <matthew@wil.cx> | 2009-02-20 06:53:48 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-05 10:34:37 -0600 |
commit | 33dd6f92a1a7ad85c54d47fd9d73371a32c0bde4 (patch) | |
tree | 8390e0a43bac01b4e393d9ec35b8a58823e98da4 /include/scsi/libfc.h | |
parent | 559595a985e106d2fa9f0c79b7f5805453fed593 (diff) | |
download | lwn-33dd6f92a1a7ad85c54d47fd9d73371a32c0bde4.tar.gz lwn-33dd6f92a1a7ad85c54d47fd9d73371a32c0bde4.zip |
[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 <narayanan.rengarajan@hp.com>
Tested-by: Narayanan Rengarajan <narayanan.rengarajan@hp.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/libfc.h')
0 files changed, 0 insertions, 0 deletions