]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerJon <jonathan.bailey1@ibm.com>
Fri, 3 Oct 2025 13:31:24 +0000 (14:31 +0100)
commit4eb3640e7609c034a99dcdab7c67489df63879f8
tree9ed5134021512f0c892de2568cd7d064f6b8aa91
parent35ae470bf7be48161f9718158d4b7bd973ec71f3
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