Do not use goto resume_0 due to some strange -O3 bug which leads to hangs (it seems it optimizes flush_queue.size() away)

This commit is contained in:
Vitaliy Filippov
2019-12-03 02:23:29 +03:00
parent fd13965b90
commit 1f7381e220
3 changed files with 6 additions and 9 deletions
-1
View File
@@ -142,7 +142,6 @@ static int bs_init(struct thread_data *td)
{
bs_options *o = (bs_options*)td->eo;
bs_data *bsd = (bs_data*)td->io_ops_data;
int r;
blockstore_config_t config;
config["journal_device"] = o->journal_device;