Implement read-modify-write calculation and extract it into a separate file

This commit is contained in:
Vitaliy Filippov
2020-02-23 02:11:43 +03:00
parent 0e177c7a2a
commit d4fd9d982a
11 changed files with 637 additions and 178 deletions
+3
View File
@@ -189,6 +189,9 @@ class blockstore_impl_t
bool readonly = false;
// It is safe to disable fsync() if drive write cache is writethrough
bool disable_data_fsync = false, disable_meta_fsync = false, disable_journal_fsync = false;
// Enable if you want every operation to be executed with an "implicit fsync"
// FIXME Not implemented yet
bool immediate_commit = false;
bool inmemory_meta = false;
int flusher_count;
/******* END OF OPTIONS *******/