Commit 98b7402
committed
mds: do not trim segments after open file table commit
Previously, the trimming of expired segments would only occur if the open file
table's committed sequence number is past the segment to be trimmed. This is
now part of the expiry checks so it's no longer necessary to restart trimming
when the open file table commit completes.
Furthermore, this was confusing to `flush journal` as it was waiting for the
journal head write but the open file table commit already triggered the trim.
Signed-off-by: Patrick Donnelly <[email protected]>1 parent b2711f6 commit 98b7402
1 file changed
+1
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | 588 | | |
600 | 589 | | |
601 | 590 | | |
| |||
610 | 599 | | |
611 | 600 | | |
612 | 601 | | |
613 | | - | |
614 | | - | |
| 602 | + | |
615 | 603 | | |
616 | 604 | | |
617 | 605 | | |
| |||
0 commit comments