Skip to content

Commit

Permalink
bcache: Remove dead references to cache_readaheads
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrea Tomassetti authored and Jens Axboe committed Jun 15, 2023
1 parent b98dd0b commit ccb8c3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Documentation/admin-guide/bcache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~

Expand Down
1 change: 0 additions & 1 deletion drivers/md/bcache/stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ccb8c3b

Please sign in to comment.