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:
Vitaliy Filippov
2020-10-24 01:28:47 +03:00
parent 5fbe36198a
commit faa5e1436f
4 changed files with 35 additions and 14 deletions
+1
View File
@@ -148,6 +148,7 @@ resume_5:
{
mark_rolled_back(*v);
}
flusher->mark_trim_possible();
// Acknowledge op
op->retval = 0;
FINISH_OP(op);