From 4264fd613a6a4b9c1c91d9291653d0fdaf4fd288 Mon Sep 17 00:00:00 2001 From: Sujit Reddy Thumma Date: Sun, 29 Jun 2014 09:40:20 +0300 Subject: [PATCH] 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-format-patch failed