]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: EC optimizations keep log entries on all shards
authorBill Scales <bill_scales@uk.ibm.com>
Fri, 11 Jul 2025 11:59:40 +0000 (12:59 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Sun, 7 Sep 2025 23:10:41 +0000 (00:10 +0100)
commitc2b97811b2adc795d07fcc1be3df73ffd4061879
treee73cef7de0e6262f3341268097ecd28709ad9303
parent66e2c798e37e35e5af40befcf1acc4591fac0105
osd: EC optimizations keep log entries on all shards

When a shard is backfilling it gets given log entries
for partial writes even if they do not apply to the
shard. The code was updating the missing list but
discarding the log entry. This is wrong because the
update can be rolled backwards and the log entry is
required to revert the update to the missing list.
Keeping the log entry has a small but insignificant
performance impact.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit 1fa5302092cbbb37357142d01ca008cae29d4f5e)
src/osd/PGLog.h