Block writes earlier than sync/stabilize would be blocked, too

This commit is contained in:
Vitaliy Filippov
2020-01-10 20:05:17 +03:00
parent b3f2102f33
commit 4b05bde3a2
6 changed files with 38 additions and 12 deletions
+6 -1
View File
@@ -32,7 +32,12 @@ bool blockstore_t::is_safe_to_stop()
void blockstore_t::enqueue_op(blockstore_op_t *op)
{
impl->enqueue_op(op);
impl->enqueue_op(op, false);
}
void blockstore_t::enqueue_op_first(blockstore_op_t *op)
{
impl->enqueue_op(op, true);
}
std::map<object_id, uint64_t> & blockstore_t::get_unstable_writes()