bcache: Refactor bset_tree sysfs stats
authorKent Overstreet <kmo@daterainc.com>
Tue, 12 Nov 2013 03:25:55 +0000 (19:25 -0800)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:13 +0000 (13:05 -0800)
We're in the process of turning bset.c into library code, so none of the code in
that file should know about struct cache_set or struct btree - so, move the
btree traversal part of the stats code to sysfs.c.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bset.c
drivers/md/bcache/bset.h
drivers/md/bcache/sysfs.c

Simple merge
Simple merge
Simple merge