summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Nan <linan122@huawei.com>2024-01-17 06:19:46 +0300
committerSong Liu <song@kernel.org>2024-04-09 07:15:46 +0300
commit9d1110f99c253ccef82e480bfe9f38a12eb797a7 (patch)
tree0d9dc93d6676c34e0b609a625aa81a4b0317781b /tools/perf/scripts/python/export-to-postgresql.py
parent3f9f231236ce7e48780d8a4f1f8cb9fae2df1e4e (diff)
downloadlinux-9d1110f99c253ccef82e480bfe9f38a12eb797a7.tar.xz
md: don't account sync_io if iostats of the disk is disabled
If iostats is disabled, disk_stats will not be updated and part_stat_read_accum() only returns a constant value. In this case, continuing to count sync_io and to check is_mddev_idle() is no longer meaningful. Signed-off-by: Li Nan <linan122@huawei.com> Reviewed-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20240117031946.2324519-3-linan666@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions