Extract 512 to constants

This commit is contained in:
Vitaliy Filippov
2020-01-06 14:11:47 +03:00
parent f3e3f8f005
commit bf3eecc159
10 changed files with 62 additions and 59 deletions
+5
View File
@@ -23,6 +23,11 @@
//#define BLOCKSTORE_DEBUG
#define DISK_ALIGNMENT 512
#define MEM_ALIGNMENT 512
#define JOURNAL_BLOCK_SIZE 512
#define META_BLOCK_SIZE 512
// States are not stored on disk. Instead, they're deduced from the journal
#define ST_J_IN_FLIGHT 1