]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Optimized EC don't apply pwlc for divergent writes
authorBill Scales <bill_scales@uk.ibm.com>
Wed, 30 Jul 2025 11:44:10 +0000 (12:44 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 17 Sep 2025 08:43:26 +0000 (09:43 +0100)
commit286579f5995e85cf474dc9d53c501dda1c0f0f2b
treeb758296750394202b7288948fb30678df0e02a51
parent8183125027ff369eb3408e9c251b770adf137003
osd: Optimized EC don't apply pwlc for divergent writes

Split pwlc epoch into a separate variable so that we
can use epoch and version number when comparing if
last_update is within a pwlc range. This ensures that
pwlc is not applied to a shard that has a divergent
write, but still tracks the most recent update of pwlc.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit d634f824f229677aa6df7dded57352f7a59f3597)
src/osd/PGBackend.cc
src/osd/PeeringState.cc
src/osd/osd_types.cc
src/osd/osd_types.h