diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2022-07-11 16:31:26 -0400 |
|---|---|---|
| committer | Mike Snitzer <snitzer@kernel.org> | 2022-07-14 15:53:25 -0400 |
| commit | b2676e1482af89714af6988ce5d31a84692e2530 (patch) | |
| tree | e24eccff92e8ddd05e9e9ae169bc53afbc22ed77 /scripts/stackusage | |
| parent | dm writecache: count number of blocks read, not number of read bios (diff) | |
| download | linux-b2676e1482af89714af6988ce5d31a84692e2530.tar.gz linux-b2676e1482af89714af6988ce5d31a84692e2530.zip | |
dm writecache: count number of blocks written, not number of write bios
Change dm-writecache, so that it counts the number of blocks written
instead of the number of write 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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
