diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2014-06-29 08:40:20 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 23:17:01 +0200 |
commit | 4264fd613a6a4b9c1c91d9291653d0fdaf4fd288 (patch) | |
tree | 7dd4f300e45d50dddceba4bcfd541841daee7e40 /drivers/regulator/wm831x-dcdc.c | |
parent | ufs: Logical Unit (LU) command queue depth (diff) | |
download | linux-4264fd613a6a4b9c1c91d9291653d0fdaf4fd288.tar.xz linux-4264fd613a6a4b9c1c91d9291653d0fdaf4fd288.zip |
ufs: Fix queue depth handling for best effort cases
Some UFS devices may expose bLUQueueDepth field as zero indicating
that the queue depth depends on the number of resources available
for LUN at a particular instant to handle the outstanding transfer
requests. Currently, when response for SCSI command is TASK_FULL
the LLD decrements the queue depth but fails to increment when the
resources are available. The scsi mid-layer handles the change in
queue depth heuristically and offers simple interface with
->change_queue_depth.
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Acked-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
0 files changed, 0 insertions, 0 deletions