summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/bcache.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-12-12 11:11:02 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2016-12-12 12:53:59 -0900
commitcb1b62102ab3a6143d6297a02c18c491ff762deb (patch)
treebaa11295d5a3cf5ec46d4bc9584f02e654326fdd /drivers/md/bcache/bcache.h
parent2d258c7a723ce2ec9893a1717158cfebe96285ce (diff)
bcache: treebitvec thingtreebitvec
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r--drivers/md/bcache/bcache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h
index 3540e05e40ef..c2993023146b 100644
--- a/drivers/md/bcache/bcache.h
+++ b/drivers/md/bcache/bcache.h
@@ -198,6 +198,7 @@
#include "util.h"
#include "closure.h"
#include "opts.h"
+#include "treebitvec.h"
#include <linux/dynamic_fault.h>
@@ -411,6 +412,7 @@ struct cache {
/* most out of date gen in the btree */
u8 *oldest_gens;
struct bucket *buckets;
+ struct treebitvec empty_buckets;
unsigned short bucket_bits; /* ilog2(bucket_size) */
/* last calculated minimum prio */