commit | f099a108cabf72a1184b1e14e4a09f4ca3375750 | [log] [tgz] |
---|---|---|
author | Chengming Zhou <zhouchengming@bytedance.com> | Fri Aug 04 15:06:09 2023 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 09 16:04:14 2023 -0600 |
tree | 83155b0d8dfc15959c2c8da449cf9d970a1ce6ce | |
parent | 2bc057692599a5b3dc93d75a3dff34f72576355d [diff] |
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>