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
@@ -171,7 +171,7 @@ void blockstore::handle_stable_event(ring_data_t *data, blockstore_operation *op
#ifdef BLOCKSTORE_DEBUG
printf("enqueue_flush %lu:%lu v%lu\n", v->oid.inode, v->oid.stripe, v->version);
#endif
flusher->queue_flush(*v);
flusher->enqueue_flush(*v);
}
}
// Acknowledge op