Mikulas Patocka b2676e1482 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>
2022-07-14 15:53:25 -04:00
..
2022-06-03 11:48:47 -07:00
2022-06-28 06:33:15 -06:00
2022-06-26 14:12:56 -07:00
2022-06-28 06:33:15 -06:00
2022-06-03 11:48:47 -07:00
2022-05-29 11:38:27 -07:00
2022-06-20 08:38:29 -05:00
2022-06-26 14:12:56 -07:00
2022-06-24 17:01:31 -07:00
2022-06-24 12:22:11 -07:00
2022-05-26 21:08:40 -07:00
2022-06-07 15:00:29 -07:00
2022-06-02 15:23:54 -07:00
2022-06-28 06:33:15 -06:00
2022-06-02 15:23:54 -07:00
2022-06-28 06:30:26 -06:00
2022-06-28 06:33:15 -06:00
2022-06-28 06:33:15 -06:00
2022-06-28 06:33:15 -06:00
2022-05-25 16:18:27 -07:00
2022-05-25 15:02:26 +02:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-05-23 21:06:11 -07:00
2022-05-19 16:56:17 +02:00
2022-06-12 11:33:42 -07:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-06-28 06:33:15 -06:00
2022-06-28 06:30:26 -06:00
2022-06-03 11:48:47 -07:00
2022-05-11 08:29:11 +03:00
2022-06-28 06:30:26 -06:00
2022-06-01 13:49:15 -07:00
2022-06-11 16:32:47 -07:00
2022-06-05 09:25:12 -07:00
2022-06-05 09:25:12 -07:00