]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:25:54 +0000 (12:25 -0500)
commitd092d435d0abacae9b8e248395157d4d3679f659
tree392955814fbb7a88caad4a888a277a6f1a44775d
parente0012057a82f7d1c553fe6a1a9cf3f02cc11e101
xfs: create global stats and stats_clear in sysfs

Orabug: 22913653

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>
(cherry picked from commit bb230c124730f21eea13deab433f9f8fc96bd5f3)
Signed-off-by: Dan Duval <dan.duval@oracle.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