rsxx: Fixes incorrect stats calculation.
PATCH 10/11 rsxx: Fixes incorrect stats calculation.
From: Philip J Kelleher <[email protected]>
Fixing incorrect stats calculation during read retries.
Signed-off-by Philip J Kelleher <[email protected]>
-------------------------------------------------------------------------------
drivers/block/rsxx/dma.c +1 -0
@@ -269,6 +269,7 @@ static void rsxx_requeue_dma(struct rsxx* first. */ spin_lock_bh (&ctrl->queue_lock); + ctrl->stats.sw_q_depth++;list_add (&dma->list, &ctrl->queue);spin_unlock_bh (&ctrl->queue_lock); }