]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd81cac8ac8837e2e82c6f69fd0dea64d2f586f1
tree6ca0c573107f936abf04f3d168ce4a9f60f78b71
parent11e540862165bda31fc5c82f3ac8c5633a2b5816
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