]> 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)
commit60b5264e00a8067b740f402bcc1d5976923db599
tree665fd5a7f6e7698777fda58b04e471a0c0c4a011
parentfeedd1cf1c49cabeb18ffc5c7d8cee7cb5135a24
USB: uas: Limit qdepth at the scsi-host level

Commit 8ace2a886b03 ("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