all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Kefu Chai <k.chai@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: t.lamprecht@proxmox.com
Subject: [PATCH ceph v2 0/1] backport fix for EC truncate+write planning corrupting shards
Date: Tue, 18 Aug 2026 16:08:41 +0800	[thread overview]
Message-ID: <20260818080842.1261466-1-k.chai@proxmox.com> (raw)

v2: add the missing "ceph" project tag to the subject (was posted as a
bare "[PATCH]" in v1: 20260812082022.2910768-1-k.chai@proxmox.com).
No code change from v1 (range-diff confirms the patch is byte-identical).

Ceph 20.2.1 and 20.2.2 both carry a regression in EC shard-size
planning for truncate+write transactions on pools with
allow_ec_optimizations: affected objects fail decode with a
ceph_assert on read, and since recovery reads hit the same code path,
OSDs crash-loop on startup and the damage follows PG remapping
(https://tracker.ceph.com/issues/77276,
https://tracker.ceph.com/issues/78400). The stored shards themselves
stay intact (this is a read-path assertion, not silent data
corruption), but a crash-looping OSD that takes an EC pool inactive is
a production problem, and it's already hit at least one reported
deployment (see tracker #78400 note 7 for interim recovery guidance
for anyone affected before the fix ships).

The upstream fix (a1bb747293b) landed in Tentacle after 20.2.2 was
already tagged, so it will only ship with the next ceph point release.
This backports the single commit ahead of that so our packaging isn't
carrying the regression in the meantime.

Given the production impact, please consider this for the next point
release / repository push.

Kefu Chai (1):
  backport fix for EC truncate+write planning corrupting shards

 ...n-fix-truncate-write-planning-for-EC.patch | 128 ++++++++++++++++++
 patches/series                                |   1 +
 2 files changed, 129 insertions(+)
 create mode 100644 patches/0014-osd-ECTransaction-fix-truncate-write-planning-for-EC.patch

-- 
2.47.3





             reply	other threads:[~2026-08-18  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18  8:08 Kefu Chai [this message]
2026-08-18  8:08 ` [PATCH ceph v2 1/1] backport fix for EC truncate+write planning corrupting shards Kefu Chai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260818080842.1261466-1-k.chai@proxmox.com \
    --to=k.chai@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal