First implementation of journal trimming

In theory it's possible to start testing blockstore at this point!
This commit is contained in:
Vitaliy Filippov
2019-11-15 16:12:55 +03:00
parent c7d9dc027b
commit a4aaa3c7c7
6 changed files with 94 additions and 19 deletions
+1
View File
@@ -19,6 +19,7 @@ class blockstore_init_journal
uint8_t *journal_buffer = NULL;
int step = 0;
uint32_t crc32_last = 0;
bool started = false;
uint64_t done_pos = 0, journal_pos = 0;
uint64_t cur_skip = 0;
bool wrapped = false;