From 133e00edbeca192baad67ebaa9a9356ae5788051 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 24 Feb 2020 15:36:18 +0000 Subject: [PATCH] fs_backing_store: 8K metadata blocks, 1K blocks, bump version Signed-off-by: Daniel Silverstone --- content/fs_backing_store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/fs_backing_store.c b/content/fs_backing_store.c index 481519da0..5716ea200 100644 --- a/content/fs_backing_store.c +++ b/content/fs_backing_store.c @@ -62,7 +62,7 @@ #define DEFAULT_ENTRY_SIZE 16 /** Backing store file format version */ -#define CONTROL_VERSION 200 +#define CONTROL_VERSION 201 /** Number of milliseconds after a update before control data maintenance is performed */ #define CONTROL_MAINT_TIME 10000 @@ -77,7 +77,7 @@ #define BLOCK_ADDR_LEN 16 /** log2 number of entries per block file(4k) */ -#define BLOCK_ENTRY_COUNT 12 +#define BLOCK_ENTRY_COUNT 10 /** log2 number of data block files */ #define BLOCK_FILE_COUNT (BLOCK_ADDR_LEN - BLOCK_ENTRY_COUNT) @@ -86,7 +86,7 @@ #define BLOCK_DATA_SIZE 13 /** log2 size of metadata blocks (1k) */ -#define BLOCK_META_SIZE 10 +#define BLOCK_META_SIZE 13 /** length in bytes of a block files use map */ #define BLOCK_USE_MAP_SIZE (1 << (BLOCK_ENTRY_COUNT - 3))