All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/8] rsxx: Fixes incorrect stats calculation.
@ 2013-05-02  0:26 Philip J. Kelleher
  0 siblings, 0 replies; 2+ messages in thread
From: Philip J. Kelleher @ 2013-05-02  0:26 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel, klebers, brking

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-vanilla/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-04-29 11:25:00.596187375 -0500
+++ linux-block/drivers/block/rsxx/dma.c	2013-04-29 13:58:27.979188201 -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] 2+ messages in thread

* [PATCH 3/8] rsxx: Fixes incorrect stats calculation.
@ 2013-05-28 21:10 Philip J. Kelleher
  0 siblings, 0 replies; 2+ messages in thread
From: Philip J. Kelleher @ 2013-05-28 21:10 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-vanilla/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-04-29 11:25:00.596187375 -0500
+++ linux-block/drivers/block/rsxx/dma.c	2013-04-29 13:58:27.979188201 -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] 2+ messages in thread

end of thread, other threads:[~2013-05-28 21:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-02  0:26 [PATCH 3/8] rsxx: Fixes incorrect stats calculation Philip J. Kelleher
2013-05-28 21:10 Philip J. Kelleher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.