lkml.org 
[lkml]   [2009]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/41] FS-Cache: Add use of /proc and presentation of statistics [ver #48]
On Fri, Apr 03, 2009 at 04:55:28PM +0100, David Howells wrote:
> Make FS-Cache create its /proc interface and present various statistical
> information through it. Also provide the functions for updating this
> information.
>
> These features are enabled by:
>
> CONFIG_FSCACHE_PROC
> CONFIG_FSCACHE_STATS
> CONFIG_FSCACHE_HISTOGRAM
>
> The /proc directory for FS-Cache is also exported so that caching modules can
> add their own statistics there too.
>
> The FS-Cache module is loadable at this point, and the statistics files can be
> examined by userspace:
>
> cat /proc/fs/fscache/stats
> cat /proc/fs/fscache/histogram

I thought we didn't want to use procfs for these kinds of things
anymore.



\
 
 \ /
  Last update: 2009-04-04 19:43    [from the cache]
©2003-2011 Jasper Spaans