Skip to content

Commit ccb8c3b

Browse files
Andrea Tomassettiaxboe
authored andcommitted
bcache: Remove dead references to cache_readaheads
The cache_readaheads stat counter is not used anymore and should be removed. Signed-off-by: Andrea Tomassetti <[email protected]> Signed-off-by: Coly Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent b98dd0b commit ccb8c3b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Documentation/admin-guide/bcache.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,6 @@ cache_miss_collisions
508508
cache miss, but raced with a write and data was already present (usually 0
509509
since the synchronization for cache misses was rewritten)
510510

511-
cache_readaheads
512-
Count of times readahead occurred.
513-
514511
Sysfs - cache set
515512
~~~~~~~~~~~~~~~~~
516513

drivers/md/bcache/stats.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ struct cache_stats {
1818
unsigned long cache_misses;
1919
unsigned long cache_bypass_hits;
2020
unsigned long cache_bypass_misses;
21-
unsigned long cache_readaheads;
2221
unsigned long cache_miss_collisions;
2322
unsigned long sectors_bypassed;
2423

0 commit comments

Comments
 (0)