mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
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>
This commit is contained in:
parent
b8b225da13
commit
62302508f2
@ -269,6 +269,7 @@ static void rsxx_requeue_dma(struct rsxx_dma_ctrl *ctrl,
|
|||||||
* first.
|
* first.
|
||||||
*/
|
*/
|
||||||
spin_lock_bh(&ctrl->queue_lock);
|
spin_lock_bh(&ctrl->queue_lock);
|
||||||
|
ctrl->stats.sw_q_depth++;
|
||||||
list_add(&dma->list, &ctrl->queue);
|
list_add(&dma->list, &ctrl->queue);
|
||||||
spin_unlock_bh(&ctrl->queue_lock);
|
spin_unlock_bh(&ctrl->queue_lock);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user