Correctly resume writes when OSD is full to return an error

pull/5/head
Vitaliy Filippov 2021-03-13 02:03:24 +03:00
parent f49fd53d55
commit d1526b415f
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ void blockstore_impl_t::check_wait(blockstore_op_t *op)
} }
else if (PRIV(op)->wait_for == WAIT_FREE) else if (PRIV(op)->wait_for == WAIT_FREE)
{ {
if (!data_alloc->get_free_count() && !flusher->is_active()) if (!data_alloc->get_free_count() && flusher->is_active())
{ {
#ifdef BLOCKSTORE_DEBUG #ifdef BLOCKSTORE_DEBUG
printf("Still waiting for free space on the data device\n"); printf("Still waiting for free space on the data device\n");