diff options
author | Philip J Kelleher <pjk1939@linux.vnet.ibm.com> | 2013-06-18 14:50:48 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-06-19 13:52:10 +0200 |
commit | 62302508f2986720ad73494dd8037dff1c4f77d1 (patch) | |
tree | a2ff51ab6d6a08a2a0fefbc50cc533323925f547 /drivers/block/rsxx/dma.c | |
parent | b8b225da139f5770d7689b189fd5debc58f4b35d (diff) | |
download | linux-62302508f2986720ad73494dd8037dff1c4f77d1.tar.gz linux-62302508f2986720ad73494dd8037dff1c4f77d1.tar.bz2 linux-62302508f2986720ad73494dd8037dff1c4f77d1.zip |
rsxx: Fixes incorrect stats calculation.
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>
Diffstat (limited to 'drivers/block/rsxx/dma.c')
-rw-r--r-- | drivers/block/rsxx/dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/rsxx/dma.c b/drivers/block/rsxx/dma.c index b485a65b8de1..bed32f16b084 100644 --- 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); } |