summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorBill O'Donnell2015-10-12 09:21:22 +0200
committerDave Chinner2015-10-12 09:21:22 +0200
commitff6d6af2351caea7db681f4539d0d893e400557a (patch)
tree2e3d1d4a57a478183edf6e55a0c257a36a9fee04 /arch/tile
parentxfs: per-filesystem stats in sysfs (diff)
downloadkernel-qcow2-linux-ff6d6af2351caea7db681f4539d0d893e400557a.tar.gz
kernel-qcow2-linux-ff6d6af2351caea7db681f4539d0d893e400557a.tar.xz
kernel-qcow2-linux-ff6d6af2351caea7db681f4539d0d893e400557a.zip
xfs: per-filesystem stats counter implementation
This patch modifies the stats counting macros and the callers to those macros to properly increment, decrement, and add-to the xfs stats counts. The counts for global and per-fs stats are correctly advanced, and cleared by writing a "1" to the corresponding clear file. global counts: /sys/fs/xfs/stats/stats per-fs counts: /sys/fs/xfs/sda*/stats/stats global clear: /sys/fs/xfs/stats/stats_clear per-fs clear: /sys/fs/xfs/sda*/stats/stats_clear [dchinner: cleaned up macro variables, removed CONFIG_FS_PROC around stats structures and macros. ] Signed-off-by: Bill O'Donnell <billodo@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'arch/tile')
0 files changed, 0 insertions, 0 deletions