summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla1280.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2009-03-12 18:20:30 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-18 01:43:29 (GMT)
commit2b301307f63dbecf06d91f58f003c7fb7addee24 (patch)
treee6dee7552a0c52124a537e6db74ddce940443554 /drivers/scsi/qla1280.c
parent0da205e01bc58cfad660659e3c901223d3596c57 (diff)
downloadlinux-2b301307f63dbecf06d91f58f003c7fb7addee24.tar.xz
[SCSI] sd: Try READ CAPACITY 16 first for SBC-2 devices
New features are being added to the READ CAPACITY 16 results, so we want to issue it in preference to READ CAPACITY 10. Unfortunately, some devices misbehave when they see a READ CAPACITY 16, so we restrict this command to devices which claim conformance to SPC-3 (aka SBC-2), or claim they have features which are only reported in the READ CAPACITY 16 data. The READ CAPACITY 16 command is optional, even for SBC-2 devices, so we fall back to READ CAPACITY 10 if READ CAPACITY 16 fails. [jejb: don't error if device supports SBC-2 but doesn't support RC16] Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Tested-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla1280.c')
0 files changed, 0 insertions, 0 deletions