Re: [PATCH] usb: storage: scsiglue: increase transfer size limit

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

 



On Thu, 29 Oct 2015, Matthew Dharm wrote:

> Uhh... I think this is a bad idea.  The 120K limit was chosen based on
> seeing a lot of devices which broke if you tried to transfer more.  At
> least, that's my memory.  Otherwise, it's a really goofy number.
> 
> I certainly wouldn't mind you increasing it in the case of a USB 3.x
> device, but not globally.

That's what I remember also.  Besides, we have a sysfs interface for 
changing this value, so the number in the driver doesn't have to be 
permanent for every device.

In fact, there are quite a few USB storage devices which break if you 
try to transfer more than 64 KB at a time.  That's what Windows uses by 
default (although maybe they use a larger value for USB-3 devices).

Alan Stern

--
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