Commit ccb8c3bd authored by Andrea Tomassetti's avatar Andrea Tomassetti Committed by Jens Axboe
Browse files

bcache: Remove dead references to cache_readaheads



The cache_readaheads stat counter is not used anymore and should be
removed.

Signed-off-by: default avatarAndrea Tomassetti <andrea.tomassetti-opensource@devo.com>
Signed-off-by: default avatarColy Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20230615121223.22502-4-colyli@suse.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b98dd0b0
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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
~~~~~~~~~~~~~~~~~

+0 −1
Original line number Diff line number Diff line
@@ -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;