* [PATCH 2/8] rsxx: Fixes incorrect stats calculation.
@ 2013-06-01 0:28 Philip J. Kelleher
0 siblings, 0 replies; only message in thread
From: Philip J. Kelleher @ 2013-06-01 0:28 UTC (permalink / raw)
To: axboe; +Cc: linux-kernel
From: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Fixing incorrect stats calculation during read retries.
Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
-------------------------------------------------------------------------------
diff -uprN -X linux-block/Documentation/dontdiff linux-block-vanilla/drivers/block/rsxx/dma.c linux-block/drivers/block/rsxx/dma.c
--- linux-block-vanilla/drivers/block/rsxx/dma.c 2013-05-31 14:57:49.410326601 -0500
+++ linux-block/drivers/block/rsxx/dma.c 2013-05-31 15:46:43.828260076 -0500
@@ -253,6 +253,7 @@ static void rsxx_requeue_dma(struct rsxx
* first.
*/
spin_lock(&ctrl->queue_lock);
+ ctrl->stats.sw_q_depth++;
list_add(&dma->list, &ctrl->queue);
spin_unlock(&ctrl->queue_lock);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-01 0:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-01 0:28 [PATCH 2/8] rsxx: Fixes incorrect stats calculation Philip J. Kelleher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®