Re: [PATCH 0/3] xfs: new global stats in sysfs

Eric Sandeen
2015-09-03T20:34:05Z

On 9/3/15 11:36 AM, billodo wrote:
>
> Hi all-
> Here is a first pass at a series to add new global stats to sysfs.
> As a part of that, the /proc/fs/xfs/stat file becomes a symlink to
> the sysfs stats entry. The patch provides the beginnings of the
> infrastructure for per-fs stats (in addition to global accumulative
> stats).

To flesh this out a little more:

We already have per-fs information in /sys, so it makes sense to
have per-fs stats there too. As a first step, moving existing
global stats infrastructure to /sys will allow us to re-use that
sysfs code for per-fs stats as well.

-Eric