Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <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>

authored by

Andrea Tomassetti and committed by
Jens Axboe
ccb8c3bd b98dd0b0

-4
-3
Documentation/admin-guide/bcache.rst
··· 508 508 cache miss, but raced with a write and data was already present (usually 0 509 509 since the synchronization for cache misses was rewritten) 510 510 511 - cache_readaheads 512 - Count of times readahead occurred. 513 - 514 511 Sysfs - cache set 515 512 ~~~~~~~~~~~~~~~~~ 516 513
-1
drivers/md/bcache/stats.h
··· 18 18 unsigned long cache_misses; 19 19 unsigned long cache_bypass_hits; 20 20 unsigned long cache_bypass_misses; 21 - unsigned long cache_readaheads; 22 21 unsigned long cache_miss_collisions; 23 22 unsigned long sectors_bypassed; 24 23