mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Nikolai Dokutovich <ndokutovich@gmail.com>,
	David Howells <dhowells@redhat.com>,
	Paulo Alcantara <pc@manguebit.org>
Cc: Jonathan Corbet <corbet@lwn.net>,
	netfs@lists.linux.dev, linux-fsdevel@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cachefiles: drop the remaining histogram documentation
Date: Sat, 28 Nov 2026 23:20:49 -0800	[thread overview]
Message-ID: <9c23d5cc-b306-4233-b03a-839daab3b1ae@infradead.org> (raw)
In-Reply-To: <20261129014113.57320-1-ndokutovich@gmail.com>



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

      reply	other threads:[~2026-11-29  7:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  1:41 Nikolai Dokutovich
2026-11-29  7:20 ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c23d5cc-b306-4233-b03a-839daab3b1ae@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=corbet@lwn.net \
    --cc=dhowells@redhat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ndokutovich@gmail.com \
    --cc=netfs@lists.linux.dev \
    --cc=pc@manguebit.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®