android_kernel_xiaomi_sm8350/drivers/usb/storage
Alan Stern 5c16034d73 USB: usb-storage: increase max_sectors for tape drives
This patch (as1203) increases the max_sector limit for USB tape
drives.  By default usb-storage sets max_sectors to 240 (i.e., 120 KB)
for all devices.  But tape drives need a higher limit, since tapes can
and do have very large block sizes.  Without the ability to transfer
an entire large block in a single command, such tapes can't be used.

This fixes Bugzilla #12207.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Phil Mitchell <philipm@sybase.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-24 16:20:26 -07:00
..
alauda.c
alauda.h
cypress_atacb.c
cypress_atacb.h
datafab.c
datafab.h
debug.c
debug.h
freecom.c
freecom.h
initializers.c USB: support Huawei data card product IDs 2008-10-22 10:05:28 -07:00
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
karma.c
karma.h
Kconfig USB: usb-storage: merge DPCM support into SDDR09 2009-01-07 10:00:06 -08:00
libusual.c USB: storage: add last-sector hacks 2009-01-07 10:00:11 -08:00
Makefile USB: unusual dev for Option N.V. ZeroCD modems 2009-01-07 10:00:09 -08:00
onetouch.c USB: remove err() macro from more usb drivers 2008-10-17 14:41:14 -07:00
onetouch.h
option_ms.c USB: unusual dev for Option N.V. ZeroCD modems 2009-01-07 10:00:09 -08:00
option_ms.h USB: unusual dev for Option N.V. ZeroCD modems 2009-01-07 10:00:09 -08:00
protocol.c USB: usb-storage: merge ATAPI and QIC-157 protocol routines 2009-01-07 09:59:57 -08:00
protocol.h USB: usb-storage: merge ATAPI and QIC-157 protocol routines 2009-01-07 09:59:57 -08:00
scsiglue.c USB: usb-storage: increase max_sectors for tape drives 2009-03-24 16:20:26 -07:00
scsiglue.h
sddr09.c USB: usb-storage: merge DPCM support into SDDR09 2009-01-07 10:00:06 -08:00
sddr09.h USB: usb-storage: merge DPCM support into SDDR09 2009-01-07 10:00:06 -08:00
sddr55.c
sddr55.h
shuttle_usbat.c
shuttle_usbat.h
sierra_ms.c
sierra_ms.h
transport.c USB: usb-storage: remove WARN from last-sector hacks 2009-02-09 11:19:47 -08:00
transport.h USB: usb-storage: merge CB and CBI transport routines 2009-01-07 09:59:57 -08:00
unusual_devs.h USB: storage: Unusual USB device Prolific 2507 variation added 2009-03-17 14:01:29 -07:00
usb.c USB: storage: make the "quirks=" module parameter writable 2009-01-07 10:00:12 -08:00
usb.h USB: storage: add last-sector hacks 2009-01-07 10:00:11 -08:00