aboutsummaryrefslogtreecommitdiffstats
path: root/bcache.h
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2011-04-15 13:22:09 -0700
committerKent Overstreet <koverstreet@google.com>2011-04-15 13:22:09 -0700
commit1a7ae034f6f10f69cc367c8085ececae081da828 (patch)
tree887aae97ee52ba6804eb8de198f9f73ed6343473 /bcache.h
parent0b4b6fe2d3d668ace37f44e5a2297bb0ab51dafe (diff)
downloadbcache-tools-1a7ae034f6f10f69cc367c8085ececae081da828.tar.gz
New superblock fields for multiple cache devices
Diffstat (limited to 'bcache.h')
-rw-r--r--bcache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bcache.h b/bcache.h
index 0054f7d8..3f94dcee 100644
--- a/bcache.h
+++ b/bcache.h
@@ -18,8 +18,11 @@ struct cache_sb {
uint64_t nbuckets; /* device size */
uint64_t btree_root;
uint16_t btree_level;
- uint16_t _pad[3];
+ uint16_t nr_in_set;
+ uint16_t nr_this_dev;
+ uint16_t _pad[1];
uint8_t uuid[16];
+ uint8_t set_uuid[16];
};
struct bucket_disk {