From: Sujit Reddy Thumma Date: Sun, 29 Jun 2014 06:40:20 +0000 (+0300) Subject: ufs: Fix queue depth handling for best effort cases X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4264fd613a6a4b9c1c91d9291653d0fdaf4fd288;p=pandora-kernel.git 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 Signed-off-by: Dolev Raviv Acked-by: Santosh Y Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed