* [PATCH] cachefiles: drop the remaining histogram documentation
@ 2026-11-29 1:41 Nikolai Dokutovich
2026-11-29 7:20 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Dokutovich @ 2026-11-29 1:41 UTC (permalink / raw)
To: David Howells, Paulo Alcantara
Cc: Jonathan Corbet, Randy Dunlap, netfs, linux-fsdevel, linux-doc,
linux-kernel, Nikolai Dokutovich
CONFIG_CACHEFILES_HISTOGRAM and /proc/fs/cachefiles/histogram were
removed together with the histogram code, but the document still
describes both in a "Statistical Information" section and lists that
section in its contents.
Fixes: 6ae9bd8bb037 ("fscache, cachefiles: Remove the histogram stuff")
Signed-off-by: Nikolai Dokutovich <ndokutovich@gmail.com>
---
.../filesystems/caching/cachefiles.rst | 36 -------------------
1 file changed, 36 deletions(-)
diff --git a/Documentation/filesystems/caching/cachefiles.rst b/Documentation/filesystems/caching/cachefiles.rst
index adfb7d079027..8c3c84350a16 100644
--- a/Documentation/filesystems/caching/cachefiles.rst
+++ b/Documentation/filesystems/caching/cachefiles.rst
@@ -24,8 +24,6 @@ Cache on Already Mounted Filesystem
(*) A note on security.
- (*) Statistical information.
-
(*) Debugging.
@@ -423,40 +421,6 @@ for CacheFiles to run in a context of a specific security label, or to create
files and directories with another security label.
-Statistical Information
-=======================
-
-If FS-Cache is compiled with the following option enabled::
-
- CONFIG_CACHEFILES_HISTOGRAM=y
-
-then it will gather certain statistics and display them through a proc file.
-
- /proc/fs/cachefiles/histogram
-
- ::
-
- cat /proc/fs/cachefiles/histogram
- JIFS SECS LOOKUPS MKDIRS CREATES
- ===== ===== ========= ========= =========
-
- This shows the breakdown of the number of times each amount of time
- between 0 jiffies and HZ-1 jiffies a variety of tasks took to run. The
- columns are as follows:
-
- ======= =======================================================
- COLUMN TIME MEASUREMENT
- ======= =======================================================
- LOOKUPS Length of time to perform a lookup on the backing fs
- MKDIRS Length of time to perform a mkdir on the backing fs
- CREATES Length of time to perform a create on the backing fs
- ======= =======================================================
-
- Each row shows the number of events that took a particular range of times.
- Each step is 1 jiffy in size. The JIFS column indicates the particular
- jiffy range covered, and the SECS field the equivalent number of seconds.
-
-
Debugging
=========
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] cachefiles: drop the remaining histogram documentation
2026-11-29 1:41 [PATCH] cachefiles: drop the remaining histogram documentation Nikolai Dokutovich
@ 2026-11-29 7:20 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2026-11-29 7:20 UTC (permalink / raw)
To: Nikolai Dokutovich, David Howells, Paulo Alcantara
Cc: Jonathan Corbet, netfs, linux-fsdevel, linux-doc, linux-kernel
On 11/28/26 5:41 PM, Nikolai Dokutovich wrote:
> CONFIG_CACHEFILES_HISTOGRAM and /proc/fs/cachefiles/histogram were
> removed together with the histogram code, but the document still
> describes both in a "Statistical Information" section and lists that
> section in its contents.
>
> Fixes: 6ae9bd8bb037 ("fscache, cachefiles: Remove the histogram stuff")
> Signed-off-by: Nikolai Dokutovich <ndokutovich@gmail.com>
LGTM. Thanks.
Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> .../filesystems/caching/cachefiles.rst | 36 -------------------
> 1 file changed, 36 deletions(-)
>
> diff --git a/Documentation/filesystems/caching/cachefiles.rst b/Documentation/filesystems/caching/cachefiles.rst
> index adfb7d079027..8c3c84350a16 100644
> --- a/Documentation/filesystems/caching/cachefiles.rst
> +++ b/Documentation/filesystems/caching/cachefiles.rst
> @@ -24,8 +24,6 @@ Cache on Already Mounted Filesystem
>
> (*) A note on security.
>
> - (*) Statistical information.
> -
> (*) Debugging.
>
>
> @@ -423,40 +421,6 @@ for CacheFiles to run in a context of a specific security label, or to create
> files and directories with another security label.
>
>
> -Statistical Information
> -=======================
> -
> -If FS-Cache is compiled with the following option enabled::
> -
> - CONFIG_CACHEFILES_HISTOGRAM=y
> -
> -then it will gather certain statistics and display them through a proc file.
> -
> - /proc/fs/cachefiles/histogram
> -
> - ::
> -
> - cat /proc/fs/cachefiles/histogram
> - JIFS SECS LOOKUPS MKDIRS CREATES
> - ===== ===== ========= ========= =========
> -
> - This shows the breakdown of the number of times each amount of time
> - between 0 jiffies and HZ-1 jiffies a variety of tasks took to run. The
> - columns are as follows:
> -
> - ======= =======================================================
> - COLUMN TIME MEASUREMENT
> - ======= =======================================================
> - LOOKUPS Length of time to perform a lookup on the backing fs
> - MKDIRS Length of time to perform a mkdir on the backing fs
> - CREATES Length of time to perform a create on the backing fs
> - ======= =======================================================
> -
> - Each row shows the number of events that took a particular range of times.
> - Each step is 1 jiffy in size. The JIFS column indicates the particular
> - jiffy range covered, and the SECS field the equivalent number of seconds.
> -
> -
> Debugging
> =========
>
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-29 7:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 1:41 [PATCH] cachefiles: drop the remaining histogram documentation Nikolai Dokutovich
2026-11-29 7:20 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®