Skip to contentSkip to conversation

cachefiles: drop the remaining histogram documentation

PATCH In review Nikolai Dokutovich 2 participants 2 messages Nov 29

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cachefiles: drop the remaining histogram documentation

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")
---
 .../filesystems/caching/cachefiles.rst        | 36 -------------------
 1 file changed, 36 deletions(-)
Documentation/filesystems/caching/cachefiles.rst +0 -36
index adfb7d079027..8c3c84350a16 100644
@@ -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
 =========
 
Signature · 1 line
2.43.0
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · 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")

LGTM. Thanks.

Quoted 58 lines
---
 .../filesystems/caching/cachefiles.rst        | 36 -------------------
 1 file changed, 36 deletions(-)
Documentation/filesystems/caching/cachefiles.rst +0 -36
index adfb7d079027..8c3c84350a16 100644
@@ -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
 =========
 
Signature · 1 line
~Randy