From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q1KLoYGb111384 for ; Mon, 20 Feb 2012 15:50:35 -0600 Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id eedarHgrGqCU4Cdt (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 20 Feb 2012 13:50:33 -0800 (PST) Date: Mon, 20 Feb 2012 16:50:32 -0500 From: Christoph Hellwig Subject: Re: [PATCH 4/8] xfs: use common code for quota statistics Message-ID: <20120220215032.GA19340@infradead.org> References: <20120220022815.018921977@bombadil.infradead.org> <20120220022904.060961294@bombadil.infradead.org> <20120220213322.GC3592@dastard> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120220213322.GC3592@dastard> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: Christoph Hellwig , xfs@oss.sgi.com On Tue, Feb 21, 2012 at 08:33:22AM +1100, Dave Chinner wrote: > On Sun, Feb 19, 2012 at 09:28:19PM -0500, Christoph Hellwig wrote: > > Switch the quota code over to use the generic XFS statistics infrastructure. > > While the legacy /proc/fs/xfs/xqm and /proc/fs/xfs/xqmstats interfaces are > > preserved for now the statistics that still have a meaning with the current > > code are now also available from /proc/fs/xfs/stats. > > > > Signed-off-by: Christoph Hellwig > > Looks OK. Just one question/observation, though. This will make the > quota proc files show up even even quota is not compiled in. Are > there any applications out there that make use of the presence of > these files to determine if quota is configured into the kernel or > not? > > I think I just answered my own question - xfstests does exactly this > proc file test in _require_quota(). So I think their presence needs > to be conditional on CONFIG_XFS_QUOTA.... Ok, I'll respin it. That also reminds me I didn't bother to test without quotas, which I probably should do as well. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs