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
-11
View File
@@ -306,17 +306,6 @@ void blockstore_impl_t::check_wait(blockstore_op_t *op)
// do not submit
#ifdef BLOCKSTORE_DEBUG
printf("Still waiting for a journal buffer\n");
#endif
return;
}
PRIV(op)->wait_for = 0;
}
else if (PRIV(op)->wait_for == WAIT_FREE)
{
if (!data_alloc->get_free_count() && flusher->is_active())
{
#ifdef BLOCKSTORE_DEBUG
printf("Still waiting for free space on the data device\n");
#endif
return;
}