Implement immediate commit mode

This commit is contained in:
Vitaliy Filippov
2020-03-10 01:59:15 +03:00
parent c3737ae3ff
commit 3f522c66e6
8 changed files with 211 additions and 74 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ void blockstore_impl_t::enqueue_op(blockstore_op_t *op, bool first)
op->callback(op);
return;
}
if (0 && op->opcode == BS_OP_SYNC && immediate_commit)
if (op->opcode == BS_OP_SYNC && immediate_commit == IMMEDIATE_ALL)
{
op->retval = 0;
op->callback(op);