From: Andrea Tomassetti Date: Thu, 15 Jun 2023 12:12:20 +0000 (+0800) Subject: bcache: Remove dead references to cache_readaheads X-Git-Tag: v6.6.7~2487^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccb8c3bd6d93e7986b702d1f66d5d56d08abc59f;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Coly Li Link: https://lore.kernel.org/r/20230615121223.22502-4-colyli@suse.de Signed-off-by: Jens Axboe --- diff --git a/Documentation/admin-guide/bcache.rst b/Documentation/admin-guide/bcache.rst index bb5032a..6fdb495 100644 --- a/Documentation/admin-guide/bcache.rst +++ b/Documentation/admin-guide/bcache.rst @@ -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 ~~~~~~~~~~~~~~~~~ diff --git a/drivers/md/bcache/stats.h b/drivers/md/bcache/stats.h index bd3afc8..21b445f8 100644 --- a/drivers/md/bcache/stats.h +++ b/drivers/md/bcache/stats.h @@ -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;