diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2022-07-11 16:30:52 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-07-14 15:52:32 -0400 |
commit | 2c6e755b49d273243431f5f1184654e71221fc78 (patch) | |
tree | 2b2e5d478aa4a6ab6989f96b5bd4048326aa1bb6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9bc0c92e4b82adb017026dbb2aa816b1ac2bef31 (diff) |
dm writecache: count number of blocks read, not number of read bios
Change dm-writecache, so that it counts the number of blocks read
instead of the number of read bios. Bios can be split and requeued
using the dm_accept_partial_bio function, so counting bios caused
inaccurate results.
Fixes: e3a35d03407c ("dm writecache: add event counters")
Reported-by: Yu Kuai <yukuai1@huaweicloud.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions