]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: create global stats and stats_clear in sysfs
authorBill O'Donnell <billodo@redhat.com>
Sun, 11 Oct 2015 18:15:45 +0000 (05:15 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 11 Oct 2015 18:15:45 +0000 (05:15 +1100)
commitbb230c124730f21eea13deab433f9f8fc96bd5f3
treed01a02b30ce4a5aa04a371e416b22f9f6d533217
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
xfs: create global stats and stats_clear in sysfs

Currently, xfs global stats are in procfs. This patch introduces
(replicates) the global stats in sysfs. Additionally a stats_clear file
is introduced in sysfs.

Signed-off-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.h
fs/xfs/xfs_super.c
fs/xfs/xfs_sysctl.c
fs/xfs/xfs_sysfs.c
fs/xfs/xfs_sysfs.h