summaryrefslogtreecommitdiff
path: root/bcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'bcache.h')
-rw-r--r--bcache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bcache.h b/bcache.h
index 448b6a5..0054f7d 100644
--- a/bcache.h
+++ b/bcache.h
@@ -7,8 +7,9 @@ static const char bcache_magic[] = {
struct cache_sb {
uint8_t magic[16];
-#define CACHE_CLEAN 1
-#define CACHE_SYNC 2
+#define CACHE_CLEAN 1
+#define CACHE_SYNC 2
+#define CACHE_BACKING_DEVICE 4
uint32_t version;
uint16_t block_size; /* sectors */
uint16_t bucket_size; /* sectors */