Commit f099a10
blk-iocost: fix queue stats accounting
The q->stats->accounting is not only used by iocost, but iocost only
increase this counter, never decrease it. So queue stats accounting
will always enabled after using iocost once.
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230804070609.31623-1-chengming.zhou@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 2bc0576 commit f099a10
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3301 | 3301 | | |
3302 | 3302 | | |
3303 | 3303 | | |
3304 | | - | |
| 3304 | + | |
3305 | 3305 | | |
3306 | 3306 | | |
3307 | 3307 | | |
3308 | | - | |
| 3308 | + | |
| 3309 | + | |
3309 | 3310 | | |
3310 | 3311 | | |
3311 | 3312 | | |
| |||
0 commit comments