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

Commit 9705c9206ad5 ("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