xfs: add rmap btree stats infrastructure
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 01:31:11 +0000 (11:31 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 01:31:11 +0000 (11:31 +1000)
commit00f4e4f9073cb6d455c27dc8e92b421edcdc5011
tree2ccb54533b2b84513f0ebce8c843d04994d336c1
parentb87049444ac4a6515ba0427d16a73438b646435b
xfs: add rmap btree stats infrastructure

Originally-From: Dave Chinner <dchinner@redhat.com>

The rmap btree will require the same stats as all the other generic
btrees, so add all the code for that now.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_btree.h
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.h