Fix submission ring overflow & ring_data_t reuse conflicts

This commit is contained in:
Vitaliy Filippov
2019-12-17 11:26:17 +03:00
parent 4fb0579b1b
commit 19abe6227e
7 changed files with 73 additions and 29 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ static void bs_cleanup(struct thread_data *td)
bsd->ringloop->loop();
if (bsd->bs->is_safe_to_stop())
goto safe;
} while (bsd->ringloop->loop_again);
} while (bsd->ringloop->get_loop_again());
bsd->ringloop->wait();
}
safe: