projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b225d
)
rsxx: Fixes incorrect stats calculation.
author
Philip J Kelleher
<pjk1939@linux.vnet.ibm.com>
Tue, 18 Jun 2013 19:50:48 +0000
(14:50 -0500)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 19 Jun 2013 11:52:10 +0000
(13:52 +0200)
Fixing incorrect stats calculation during read retries.
Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/dma.c
patch
|
blob
|
history
diff --git
a/drivers/block/rsxx/dma.c
b/drivers/block/rsxx/dma.c
index
b485a65
..
bed32f1
100644
(file)
--- a/
drivers/block/rsxx/dma.c
+++ b/
drivers/block/rsxx/dma.c
@@
-269,6
+269,7
@@
static void rsxx_requeue_dma(struct rsxx_dma_ctrl *ctrl,
* first.
*/
spin_lock_bh(&ctrl->queue_lock);
+ ctrl->stats.sw_q_depth++;
list_add(&dma->list, &ctrl->queue);
spin_unlock_bh(&ctrl->queue_lock);
}