Commit 71702bf
committed
osd: EC optimizations: add written and present shard sets to pg_log_enty_t
Add two new sets to the pg_log_entry for use by EC optimization pools.
The written shards set tracks which shards were written to, the
present shards set tracks which shards were in the acting set at the
time of the write.
An empty set (default) is used to indicate all shards. For pools without
allow_ec_optimizations the written set is empty (indicating all shards are
written) and the present set is empty and unused.
Signed-off-by: Bill Scales <[email protected]>1 parent 42dc7bb commit 71702bf
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4954 | 4954 | | |
4955 | 4955 | | |
4956 | 4956 | | |
4957 | | - | |
| 4957 | + | |
4958 | 4958 | | |
4959 | 4959 | | |
4960 | 4960 | | |
| |||
4987 | 4987 | | |
4988 | 4988 | | |
4989 | 4989 | | |
| 4990 | + | |
| 4991 | + | |
4990 | 4992 | | |
4991 | 4993 | | |
4992 | 4994 | | |
4993 | 4995 | | |
4994 | 4996 | | |
4995 | | - | |
| 4997 | + | |
4996 | 4998 | | |
4997 | 4999 | | |
4998 | 5000 | | |
| |||
5058 | 5060 | | |
5059 | 5061 | | |
5060 | 5062 | | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
| 5066 | + | |
5061 | 5067 | | |
5062 | 5068 | | |
5063 | 5069 | | |
| |||
5107 | 5113 | | |
5108 | 5114 | | |
5109 | 5115 | | |
| 5116 | + | |
| 5117 | + | |
5110 | 5118 | | |
5111 | 5119 | | |
5112 | 5120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4463 | 4463 | | |
4464 | 4464 | | |
4465 | 4465 | | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
4466 | 4469 | | |
4467 | 4470 | | |
4468 | 4471 | | |
| |||
4531 | 4534 | | |
4532 | 4535 | | |
4533 | 4536 | | |
| 4537 | + | |
| 4538 | + | |
| 4539 | + | |
| 4540 | + | |
| 4541 | + | |
| 4542 | + | |
| 4543 | + | |
| 4544 | + | |
| 4545 | + | |
4534 | 4546 | | |
4535 | 4547 | | |
4536 | 4548 | | |
| |||
0 commit comments