Re: [PATCH 10/41] FS-Cache: Add use of /proc and presentation ofstatistics [ver #48]

From: Christoph Hellwig
Date: Sat Apr 04 2009 - 13:39:49 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/