bcache: Remove dead references to cache_readaheads
authorAndrea Tomassetti <andrea.tomassetti-opensource@devo.com>
Thu, 15 Jun 2023 12:12:20 +0000 (20:12 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Jun 2023 13:30:11 +0000 (07:30 -0600)
The cache_readaheads stat counter is not used anymore and should be
removed.

Signed-off-by: Andrea Tomassetti <andrea.tomassetti-opensource@devo.com>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20230615121223.22502-4-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/admin-guide/bcache.rst
drivers/md/bcache/stats.h

index bb5032a..6fdb495 100644 (file)
@@ -508,9 +508,6 @@ cache_miss_collisions
   cache miss, but raced with a write and data was already present (usually 0
   since the synchronization for cache misses was rewritten)
 
-cache_readaheads
-  Count of times readahead occurred.
-
 Sysfs - cache set
 ~~~~~~~~~~~~~~~~~
 
index bd3afc8..21b445f 100644 (file)
@@ -18,7 +18,6 @@ struct cache_stats {
        unsigned long cache_misses;
        unsigned long cache_bypass_hits;
        unsigned long cache_bypass_misses;
-       unsigned long cache_readaheads;
        unsigned long cache_miss_collisions;
        unsigned long sectors_bypassed;