WSL2-Linux-Kernel/drivers/usb/storage
Hans de Goede 55ff8cfbc4 USB: uas: Reduce can_queue to MAX_CMNDS
The uas driver can never queue more then MAX_CMNDS (- 1) tags and tags
are shared between luns, so there is no need to claim that we can_queue
some random large number.

Not claiming that we can_queue 65536 commands, fixes the uas driver
failing to initialize while allocating the tag map with a "Page allocation
failure (order 7)" error on systems which have been running for a while
and thus have fragmented memory.

Cc: stable@vger.kernel.org
Reported-and-tested-by: Yves-Alexis Perez <corsac@corsac.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-18 09:19:02 -07:00
..
Kconfig
Makefile
alauda.c
cypress_atacb.c
datafab.c
debug.c usb: storage: use usb_store_dbg instead of US_DEBUGPX 2016-02-20 20:21:53 -08:00
debug.h usb: storage: use usb_store_dbg instead of US_DEBUGPX 2016-02-20 20:21:53 -08:00
ene_ub6250.c usb: storage: ene_ub6250: Remove unnecessary cast in kfree 2016-02-03 13:48:12 -08:00
freecom.c
initializers.c
initializers.h
isd200.c USB: rewrite isd200_init_info for readability 2015-10-04 10:51:58 +01:00
jumpshot.c
karma.c
onetouch.c
option_ms.c
option_ms.h
protocol.c
protocol.h
realtek_cr.c
scsiglue.c
scsiglue.h
sddr09.c usb: storage: use usb_store_dbg instead of US_DEBUGPX 2016-02-20 20:21:53 -08:00
sddr55.c
shuttle_usbat.c
sierra_ms.c
sierra_ms.h
transport.c
transport.h
uas-detect.h
uas.c USB: uas: Reduce can_queue to MAX_CMNDS 2016-03-18 09:19:02 -07:00
unusual_alauda.h
unusual_cypress.h
unusual_datafab.h
unusual_devs.h usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter JMicron 2015-12-01 10:23:33 -08:00
unusual_ene_ub6250.h
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_realtek.h
unusual_sddr09.h
unusual_sddr55.h
unusual_uas.h usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter JMicron 2015-12-01 10:23:33 -08:00
unusual_usbat.h
usb.c
usb.h
usual-tables.c