summaryrefslogtreecommitdiff
path: root/bcache.h
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-03-09 15:51:17 +0100
committerGabriel <g2p.code@gmail.com>2013-03-09 15:51:17 +0100
commit3b6ae63e496d5e7c1ebbbf570ce26379ca55499d (patch)
tree7b03328ebfb1d46830187b8502ef9e9bd6f0fff7 /bcache.h
parent865a3b1f0b3093ffbdf1ac91076f1c7ac7d22238 (diff)
Fix offsets, cache and backing are two different cases.
Diffstat (limited to 'bcache.h')
-rw-r--r--bcache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bcache.h b/bcache.h
index 8087092..2e01549 100644
--- a/bcache.h
+++ b/bcache.h
@@ -25,6 +25,8 @@ static const char bcache_magic[] = {
#define SB_SECTOR 8
#define SB_LABEL_SIZE 32
+#define BDEV_DATA_START 16 /* sectors */
+
struct cache_sb {
uint64_t csum;