]> git.baikalelectronics.ru Git - kernel.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, 13 Apr 2016 19:02:28 +0000 (12:02 -0700)
commit198de51dbc3454d95b015ca0a055b673f85f01bb
tree665fd5a7f6e7698777fda58b04e471a0c0c4a011
parent2dc0194c1d0df078dc4a7bf539ce9bda7e6f1a41
USB: uas: Limit qdepth at the scsi-host level

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
Cc: stable@vger.kernel.org # 4.4.x and 4.5.x
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c