Fix possible journal corruption caused by concurrent flushing and writing of the same journal sector
This commit is contained in:
@@ -402,6 +402,7 @@ resume_1:
|
||||
}
|
||||
// Trim journal on start so we don't stall when all entries are older
|
||||
bs->journal.trim();
|
||||
bs->journal.dirty_start = bs->journal.next_free;
|
||||
printf(
|
||||
"Journal entries loaded: %lu, free journal space: %lu bytes (%lu..%lu is used), free blocks: %lu / %lu\n",
|
||||
entries_loaded,
|
||||
|
||||
Reference in New Issue
Block a user