Add readonly flag

This commit is contained in:
Vitaliy Filippov
2019-12-01 16:41:07 +03:00
parent 9260cd263a
commit 76655929c4
4 changed files with 46 additions and 24 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ class blockstore
uint64_t meta_offset, meta_size, meta_area, meta_len;
uint64_t data_offset, data_size, data_len;
// FIXME: add readonly option
bool readonly = false;
struct journal_t journal;
journal_flusher_t *flusher;