summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/bcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r--drivers/md/bcache/bcache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h
index e0439f45f65a..c3e349495915 100644
--- a/drivers/md/bcache/bcache.h
+++ b/drivers/md/bcache/bcache.h
@@ -388,6 +388,12 @@ struct cache_member_rcu {
struct cache_member m[];
};
+struct btree_debug {
+ unsigned id;
+ struct dentry *btree;
+ struct dentry *btree_format;
+};
+
struct cache_set {
struct closure cl;
int minor;
@@ -555,6 +561,7 @@ struct cache_set {
/* DEBUG JUNK */
struct dentry *debug;
+ struct btree_debug btree_debug[BTREE_ID_NR];
#ifdef CONFIG_BCACHE_DEBUG
struct btree *verify_data;
struct bset *verify_ondisk;