Re: [PATCH] Try #3: Use SCSI read/write(16) with > 32-bit LBA drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 15, 2012 at 4:20 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Wed, Nov 14, 2012 at 05:03:22PM -0500, Jason J. Herne wrote:
>> From: "Jason J. Herne" <hernejj@xxxxxxxxx>
>>
>> Force large capacity (> 0xFFFFFFFF blocks) drives to use READ/WRITE(16) instead
>> of READ/WRITE(10). Some(most/all?) USB enclosures do not like READ(10) commands
>> when a large capacity drive is installed. This issue was reported and discussed
>> here: http://marc.info/?l=linux-usb&m=135247705222324&w=2
>
> Is there any reason not to simply use the 16 byte command
> unconditionally for large devices?
>

What you are suggesting is exactly what this patch is doing.  Code was
added to sd_read_capacity()
to turn on the new bit if the device has more than 2^32 blocks.

--
- Jason J. Herne (hernejj@xxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux