From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 10/41] FS-Cache: Add use of /proc and presentation of statistics [ver #48] Date: Sat, 4 Apr 2009 13:39:36 -0400 Message-ID: <20090404173936.GA21189@infradead.org> References: <20090403155436.28714.23368.stgit@warthog.procyon.org.uk> <20090403155528.28714.19141.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, nfsv4@linux-nfs.org To: David Howells Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:55689 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123AbZDDRjj (ORCPT ); Sat, 4 Apr 2009 13:39:39 -0400 Content-Disposition: inline In-Reply-To: <20090403155528.28714.19141.stgit@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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.