]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: uas: Limit qdepth at the scsi-host level
authorHans de Goede <hdegoede@redhat.com>
Tue, 12 Apr 2016 10:27:08 +0000 (12:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2016 06:42:07 +0000 (15:42 +0900)
commit4337f6e548c1203c626740639b6826981d26beee
tree935e2f73777302fea2967b0e2caccfa83d7d878c
parentc1ea2d028ffb5b2aeaf183ac3207992f168c51a2
USB: uas: Limit qdepth at the scsi-host level

commit 198de51dbc3454d95b015ca0a055b673f85f01bb upstream.

Commit 64d513ac31bd ("scsi: use host wide tags by default") causes
the SCSI core to queue more commands then we can handle on devices with
multiple LUNs, limit the queue depth at the scsi-host level instead of
per slave to fix this.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1315013
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c