diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-05-31 09:18:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-07-11 09:31:12 -0700 |
commit | b66baf41d0474bd5c46959767428ec36b43962f0 (patch) | |
tree | 477b19e64a9567649e9a93d2d657eb89b0bca82e /drivers/usb/core/quirks.c | |
parent | ce1abd2563d07c1042a6e156fdbaa73e1e70b75f (diff) |
USB: uas: Fix slave queue_depth not being set
commit 593224ea77b1ca842f45cf76f4deeef44dfbacd1 upstream.
Commit 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level")
removed the scsi_change_queue_depth() call from uas_slave_configure()
assuming that the slave would inherit the host's queue_depth, which
that commit sets to the same value.
This is incorrect, without the scsi_change_queue_depth() call the slave's
queue_depth defaults to 1, introducing a performance regression.
This commit restores the call, fixing the performance regression.
Fixes: 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level")
Reported-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/quirks.c')
0 files changed, 0 insertions, 0 deletions