btrfs: add a node counter to each of the rbtrees
authorJeff Mahoney <jeffm@suse.com>
Wed, 12 Jul 2017 22:20:07 +0000 (16:20 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:01 +0000 (16:12 +0200)
commit6c336b212bef66e507897c78551b3bb4e613a857
tree6ca0c573107f936abf04f3d168ce4a9f60f78b71
parent86d5f994425252d8a40e2184c94a2682ae8ecfbf
btrfs: add a node counter to each of the rbtrees

This patch adds counters to each of the rbtrees so that we can tell
how large they are growing for a given workload.  These counters
will be exported by tracepoints in the next patch.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c