usb: storage: scsiglue: limit USB3 devices to 2048 sectors
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 10:09:10 +0000 (13:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2016 22:04:38 +0000 (15:04 -0700)
commit5b91dfe187bbe3a8116432016375f39fff91a237
treea773717d09fd6af49a154f8c6e702e904480f4b7
parent779b457f66e10de3471479373463b27fd308dc85
usb: storage: scsiglue: limit USB3 devices to 2048 sectors

USB3 devices, because they are much newer, have much
less chance of having issues with larger transfers.

We still keep a limit because anything above 2048
sectors really rendered negligible speed
improvements, so we will simply ignore
that. Transferring 1MiB should already give us
pretty good performance.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/scsiglue.c