]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Avoid pwlc spanning intervals 68708/head
authorBill Scales <bill_scales@uk.ibm.com>
Fri, 6 Feb 2026 17:22:29 +0000 (17:22 +0000)
committerBill Scales <bill_scales@uk.ibm.com>
Fri, 1 May 2026 07:40:50 +0000 (08:40 +0100)
commitbf1d95120febc72d3e814d99d862a4be60273d86
tree8571d10a1f8be650500f07f6031d1627a73be736
parent6502188013c056d9eefbbd27e1adaabfffa1319f
osd: Avoid pwlc spanning intervals

Prevent the first write to FastEC in each interval from being
a partial write to avoid the span of partial writes tracked by
pwlc from spanning intervals. This stops bugs such as 73891
where a divergent write was not removed from the log because
pwlc recorded that the shard had not participated in writes
before and after the divergent write.

Fixes: https://tracker.ceph.com/issues/73891
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit dc0a195b937eb175cf663d48a856f486435e987f)

Conflicts:
  src/osd/ECBackend.cc
- change assert to ceph_assert
src/osd/ECBackend.cc
src/osd/ECCommon.cc
src/osd/ECCommon.h
src/osd/ECTransaction.cc
src/osd/ECTransaction.h