Commit 645cdf9
osd: Optimized EC don't try to trim past crt
If there is an exceptionally long sequence of partial writes
that did not update a shard that is followed by a full write
then it is possible that the log trim point is ahead of the
previous write to the shard (and hence crt). We cannot trim
beyond crt. In this scenario its fine to limit the trim to crt
because the shard doesn't have any of the log entries for the
partial writes so there is nothing more to trim.
Signed-off-by: Bill Scales <[email protected]>1 parent d19f3a3 commit 645cdf9
1 file changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4549 | 4549 | | |
4550 | 4550 | | |
4551 | 4551 | | |
4552 | | - | |
4553 | | - | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
4554 | 4562 | | |
4555 | 4563 | | |
4556 | 4564 | | |
| |||
4722 | 4730 | | |
4723 | 4731 | | |
4724 | 4732 | | |
| 4733 | + | |
| 4734 | + | |
| 4735 | + | |
| 4736 | + | |
| 4737 | + | |
| 4738 | + | |
4725 | 4739 | | |
4726 | 4740 | | |
4727 | 4741 | | |
| |||
7028 | 7042 | | |
7029 | 7043 | | |
7030 | 7044 | | |
| 7045 | + | |
| 7046 | + | |
| 7047 | + | |
| 7048 | + | |
| 7049 | + | |
| 7050 | + | |
| 7051 | + | |
7031 | 7052 | | |
7032 | 7053 | | |
7033 | 7054 | | |
| |||
0 commit comments