Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755516AbZDDRjt (ORCPT ); Sat, 4 Apr 2009 13:39:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754135AbZDDRjk (ORCPT ); Sat, 4 Apr 2009 13:39:40 -0400 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 Date: Sat, 4 Apr 2009 13:39:36 -0400 From: Christoph Hellwig To: David Howells Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, nfsv4@linux-nfs.org Subject: Re: [PATCH 10/41] FS-Cache: Add use of /proc and presentation of statistics [ver #48] 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 Content-Disposition: inline In-Reply-To: <20090403155528.28714.19141.stgit@warthog.procyon.org.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 957 Lines: 28 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/