summaryrefslogtreecommitdiff
path: root/bcache.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2010-12-16 01:22:45 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2010-12-16 01:22:45 -0800
commit04a54144fd304cfd8b4d54c72bdfa076b18d57b2 (patch)
treea27437b884ba7e8188255ba9b02f1fa71e4a7541 /bcache.h
parent7e9790107563dfa88ccd89aa0d0fa33266848400 (diff)
Documentation
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 */