summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMingzhe Zou <mingzhe.zou@easystack.cn>2023-11-20 08:24:58 +0300
committerJens Axboe <axboe@kernel.dk>2023-11-20 19:17:51 +0300
commit7cc47e64d3d69786a2711a4767e26b26ba63d7ed (patch)
treebcac5af501817c6f5d474a6ff251e763127cf333 /tools/perf/scripts/python/exported-sql-viewer.py
parent2c7f497ac274a14330208b18f6f734000868ebf9 (diff)
downloadlinux-7cc47e64d3d69786a2711a4767e26b26ba63d7ed.tar.xz
bcache: fixup init dirty data errors
We found that after long run, the dirty_data of the bcache device will have errors. This error cannot be eliminated unless re-register. We also found that reattach after detach, this error can accumulate. In bch_sectors_dirty_init(), all inode <= d->id keys will be recounted again. This is wrong, we only need to count the keys of the current device. Fixes: b144e45fc576 ("bcache: make bch_sectors_dirty_init() to be multithreaded") Signed-off-by: Mingzhe Zou <mingzhe.zou@easystack.cn> Cc: <stable@vger.kernel.org> Signed-off-by: Coly Li <colyli@suse.de> Link: https://lore.kernel.org/r/20231120052503.6122-6-colyli@suse.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions