Home
last modified time | relevance | path

Searched hist:"2 c6e755b49d273243431f5f1184654e71221fc78" (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/admin-guide/device-mapper/
H A Dwritecache.rstdiff 2c6e755b49d273243431f5f1184654e71221fc78 Mon Jul 11 22:30:52 CEST 2022 Mikulas Patocka <mpatocka@redhat.com> 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>
/linux/drivers/md/
H A Ddm-writecache.cdiff 2c6e755b49d273243431f5f1184654e71221fc78 Mon Jul 11 22:30:52 CEST 2022 Mikulas Patocka <mpatocka@redhat.com> 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>