diff options
Diffstat (limited to 'for-next/20230225_andrea_tomassetti_opensource_bcache_remove_dead_references_to_cache_readaheads.mbx')
-rw-r--r-- | for-next/20230225_andrea_tomassetti_opensource_bcache_remove_dead_references_to_cache_readaheads.mbx | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/for-next/20230225_andrea_tomassetti_opensource_bcache_remove_dead_references_to_cache_readaheads.mbx b/for-next/20230225_andrea_tomassetti_opensource_bcache_remove_dead_references_to_cache_readaheads.mbx new file mode 100644 index 0000000..650d185 --- /dev/null +++ b/for-next/20230225_andrea_tomassetti_opensource_bcache_remove_dead_references_to_cache_readaheads.mbx @@ -0,0 +1,47 @@ +From git@z Thu Jan 1 00:00:00 1970 +Subject: [PATCH] bcache: Remove dead references to cache_readaheads +From: Andrea Tomassetti <andrea.tomassetti-opensource@devo.com> +Date: Sat, 25 Feb 2023 16:33:55 +0100 +Message-Id: <20230225153355.2779474-1-andrea.tomassetti-opensource@devo.com> +MIME-Version: 1.0 +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: 7bit + +The cache_readaheads stat counter is not used anymore and should be +removed. + +Signed-off-by: Andrea Tomassetti <andrea.tomassetti-opensource@devo.com> +--- + Documentation/admin-guide/bcache.rst | 3 --- + drivers/md/bcache/stats.h | 1 - + 2 files changed, 4 deletions(-) + +diff --git a/Documentation/admin-guide/bcache.rst b/Documentation/admin-guide/bcache.rst +index bb5032a99234..6fdb495ac466 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 bd3afc856d53..21b445f8af15 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; + +-- +2.39.2 + |