On Thu, Nov 15, 2012 at 4:20 AM, Christoph Hellwig <h...@infradead.org> wrote:
> On Wed, Nov 14, 2012 at 05:03:22PM -0500, Jason J. Herne wrote:
>> From: "Jason J. Herne" <hern...@gmail.com>
>>
>> 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 (hern...@gmail.com)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to