]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Fix parity updates in truncates.
authorAlex Ainscow <aainscow@uk.ibm.com>
Wed, 23 Apr 2025 14:41:11 +0000 (15:41 +0100)
committerLaura Flores <lflores@ibm.com>
Wed, 9 Jul 2025 15:47:25 +0000 (15:47 +0000)
commit5364d96cb27c8e43afa6b9da5c440b023f195b22
tree565b8dfce1232925a100d5c50538a01f2c5cdebc
parent78a73e32a44ff06ae2674d255b55d91a86e75820
osd: Fix parity updates in truncates.

Previously in optimised EC, when truncating to a partial
stripe, the parity was not being updated.  This fix reads
the non-truncated data from the final stripe and calculates
parity updates, which are written to the parity shards.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 54a06c97a279d842db0f8059ef991245c3350171)
src/osd/ECTransaction.cc
src/test/osd/test_ec_transaction.cc