Do not break subsequent small writes badly when a big write is canceled

This commit is contained in:
Vitaliy Filippov
2021-03-08 17:04:10 +03:00
parent 29bac892ad
commit 314b20437b
2 changed files with 33 additions and 8 deletions
+1
View File
@@ -271,6 +271,7 @@ class blockstore_impl_t
// Write
bool enqueue_write(blockstore_op_t *op);
void cancel_all_writes(blockstore_op_t *op, blockstore_dirty_db_t::iterator dirty_it, int retval);
int dequeue_write(blockstore_op_t *op);
int dequeue_del(blockstore_op_t *op);
int continue_write(blockstore_op_t *op);