Attempt journal trim even without new flushes
This is the new guaranteed unblocking method which replaces old trims in init and rollback, and also fixes a possible stall when just several writes in the beginning of the journal are flushed without triggering a subsequent trim.
This commit is contained in:
@@ -399,6 +399,7 @@ resume_1:
|
||||
}
|
||||
}
|
||||
}
|
||||
bs->flusher->mark_trim_possible();
|
||||
bs->journal.dirty_start = bs->journal.next_free;
|
||||
printf(
|
||||
"Journal entries loaded: %lu, free journal space: %lu bytes (%08lx..%08lx is used), free blocks: %lu / %lu\n",
|
||||
|
||||
Reference in New Issue
Block a user