Move SYNC_STAB_ALL into blockstore implementation

This commit is contained in:
Vitaliy Filippov
2020-02-23 23:43:57 +03:00
parent 4a52a15564
commit c71b67f2f7
5 changed files with 49 additions and 73 deletions
-2
View File
@@ -39,14 +39,12 @@ bool blockstore_impl_t::enqueue_write(blockstore_op_t *op)
{
// Invalid version requested
op->retval = -EINVAL;
FINISH_OP(op);
return false;
}
if (deleted && is_del)
{
// Already deleted
op->retval = 0;
FINISH_OP(op);
return false;
}
// Immediately add the operation into dirty_db, so subsequent reads could see it