xfs
[Top] [All Lists]

Re: [PATCH 4/9] xfs: use per-CPU data for the quota statistics

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/9] xfs: use per-CPU data for the quota statistics
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 17 Feb 2012 12:48:14 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20120215235929.GP14132@dastard>
References: <20120215022926.577682146@xxxxxxxxxxxxxxxxxxxxxx> <20120215023147.414783335@xxxxxxxxxxxxxxxxxxxxxx> <20120215235929.GP14132@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Feb 16, 2012 at 10:59:29AM +1100, Dave Chinner wrote:
> Why not just make val a 64bit value so overflow is simply not an
> issue?

It's a 1:1 copy an paste from the normal XFS stats.

But thinking about this copy and paste is bad - I'll rework this to
add the quota stats that we keep into the normal XFS stats, and just
provide the two old quota stats files as legacy views into them.  That
way we'll have only a single copy of that code.

<Prev in Thread] Current Thread [Next in Thread>