summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/device-mapper/writecache.rst
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-07-11 16:31:26 -0400
committerMike Snitzer <snitzer@kernel.org>2022-07-14 15:53:25 -0400
commitb2676e1482af89714af6988ce5d31a84692e2530 (patch)
treee24eccff92e8ddd05e9e9ae169bc53afbc22ed77 /Documentation/admin-guide/device-mapper/writecache.rst
parent2c6e755b49d273243431f5f1184654e71221fc78 (diff)
downloadlinux-b2676e1482af89714af6988ce5d31a84692e2530.tar.gz
linux-b2676e1482af89714af6988ce5d31a84692e2530.tar.bz2
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 'Documentation/admin-guide/device-mapper/writecache.rst')
-rw-r--r--Documentation/admin-guide/device-mapper/writecache.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/admin-guide/device-mapper/writecache.rst b/Documentation/admin-guide/device-mapper/writecache.rst
index 1fab82408ef1..0772d2160f9c 100644
--- a/Documentation/admin-guide/device-mapper/writecache.rst
+++ b/Documentation/admin-guide/device-mapper/writecache.rst
@@ -82,11 +82,11 @@ Status:
4. the number of blocks under writeback
5. the number of read blocks
6. the number of read blocks that hit the cache
-7. the number of write requests
-8. the number of write requests that hit uncommitted block
-9. the number of write requests that hit committed block
-10. the number of write requests that bypass the cache
-11. the number of write requests that are allocated in the cache
+7. the number of write blocks
+8. the number of write blocks that hit uncommitted block
+9. the number of write blocks that hit committed block
+10. the number of write blocks that bypass the cache
+11. the number of write blocks that are allocated in the cache
12. the number of write requests that are blocked on the freelist
13. the number of flush requests
14. the number of discard requests