Never try to wait for free space inside blockstore

This commit is contained in:
Vitaliy Filippov
2022-12-12 00:27:05 +03:00
parent 472bce58ab
commit cb437913d3
3 changed files with 0 additions and 19 deletions
-6
View File
@@ -261,12 +261,6 @@ int blockstore_impl_t::dequeue_write(blockstore_op_t *op)
if (loc == UINT64_MAX)
{
// no space
if (flusher->is_active())
{
// hope that some space will be available after flush
PRIV(op)->wait_for = WAIT_FREE;
return 0;
}
cancel_all_writes(op, dirty_it, -ENOSPC);
return 2;
}