Bill O'Donnell
ff6d6af235
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>
2015-10-12 18:21:22 +11:00
..
2015-10-12 18:21:22 +11:00
2015-02-02 09:54:18 +11:00
2015-02-02 09:54:18 +11:00
2015-07-29 11:52:08 +10:00
2014-11-28 14:27:09 +11:00
2014-11-28 14:24:37 +11:00
2015-09-07 13:28:32 -07:00
2015-06-04 09:18:53 +10:00
2015-06-23 08:49:01 +10:00
2015-10-12 18:21:22 +11:00
2015-08-19 10:01:40 +10:00
2015-03-25 15:08:56 +11:00
2015-08-25 10:13:35 +10:00
2015-08-25 10:05:13 +10:00
2015-10-12 18:21:22 +11:00
2015-09-08 15:35:28 -07:00
2015-10-12 18:21:22 +11:00
2015-02-23 22:39:08 +11:00
2014-11-28 14:27:09 +11:00
2015-10-12 18:21:22 +11:00
2015-01-09 10:48:58 +11:00
2015-06-22 09:44:02 +10:00
2015-06-22 09:44:02 +10:00
2015-04-15 15:06:57 -04:00
2014-11-28 14:25:04 +11:00
2015-08-19 10:01:08 +10:00
2015-08-19 09:51:16 +10:00
2015-10-12 18:21:22 +11:00
2015-06-22 10:13:30 +10:00
2015-08-19 10:31:41 +10:00
2015-10-12 18:21:22 +11:00
2014-11-28 14:25:04 +11:00
2014-11-28 14:27:09 +11:00
2015-08-19 10:01:08 +10:00
2015-10-12 18:21:22 +11:00
2015-08-19 10:32:49 +10:00
2015-04-15 15:06:57 -04:00
2014-10-02 09:17:58 +10:00
2015-10-12 18:21:22 +11:00
2015-10-12 18:21:22 +11:00
2015-01-09 10:48:12 +11:00
2015-10-12 18:21:22 +11:00
2015-02-23 22:38:08 +11:00
2015-08-19 10:00:53 +10:00
2014-11-07 08:30:30 +11:00
2015-10-12 05:19:45 +11:00
2015-07-29 11:51:01 +10:00
2015-08-19 09:58:36 +10:00
2015-08-20 09:28:45 +10:00
2015-10-12 18:21:22 +11:00
2015-08-19 09:58:36 +10:00
2014-11-28 14:27:09 +11:00
2015-10-12 18:21:19 +11:00
2015-10-12 18:21:19 +11:00
2015-03-25 14:57:53 +11:00
2015-06-04 13:48:08 +10:00
2015-04-13 11:38:29 +10:00
2014-11-28 14:27:09 +11:00
2015-06-04 13:48:08 +10:00
2015-10-12 18:21:22 +11:00
2015-03-04 16:06:36 +01:00
2015-06-01 07:15:37 +10:00
2015-03-04 16:06:38 +01:00
2015-08-19 10:01:40 +10:00
2015-10-12 05:19:45 +11:00
2015-10-12 18:21:22 +11:00
2015-10-12 18:21:22 +11:00
2015-02-23 21:22:31 +11:00
2015-08-20 09:28:45 +10:00
2015-10-12 05:19:45 +11:00
2015-10-12 05:19:45 +11:00
2015-10-12 05:15:45 +11:00
2014-11-28 14:27:09 +11:00
2015-09-08 15:35:28 -07:00
2015-10-12 18:21:22 +11:00
2015-02-10 09:23:40 +11:00
2015-06-01 10:50:00 +10:00
2015-08-19 09:51:43 +10:00
2014-11-28 14:27:09 +11:00
2015-08-19 10:01:08 +10:00
2015-10-12 18:21:22 +11:00
2015-08-19 09:51:43 +10:00
2015-04-15 15:06:57 -04:00