Fix another stall due to bad unstable_writes tracking, do not try to write beyond the end of the journal

This commit is contained in:
Vitaliy Filippov
2019-11-28 00:28:08 +03:00
parent 2630e2e3b9
commit 35a6ed728d
6 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ void blockstore::loop()
auto op_ptr = cur;
auto op = *(cur++);
// FIXME: This needs some simplification
// Writes should not block reads if the ring is not null and if reads don't depend on them
// Writes should not block reads if the ring is not full and if reads don't depend on them
// In all other cases we should stop submission
if (op->wait_for)
{