add patch to disable elastic_shared_blob to prevent crashing OSDs

reported in our community forum and upstream:
https://forum.proxmox.com/threads/164735/
https://tracker.ceph.com/issues/70390
https://github.com/ceph/ceph/pull/62724

fix seems trivial, and the feature is quite new:
https://ceph.io/assets/pdfs/events/2024/ceph-days-nyc/Diving%20Deep%20with%20Squid.pdf

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Link: https://lore.proxmox.com/20250408103904.1798122-1-s.ivanov@proxmox.com
This commit is contained in:
Stoiko Ivanov 2025-04-08 12:39:04 +02:00 committed by Thomas Lamprecht
parent b74f099ed1
commit 0e9e827cd8
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Stoiko Ivanov <s.ivanov@proxmox.com>
Date: Tue, 8 Apr 2025 12:13:10 +0200
Subject: [PATCH] disable elastic_shared_blob to prevent crashing OSDs
reported in our community forum and upstream:
https://forum.proxmox.com/threads/164735/
https://tracker.ceph.com/issues/70390
https://github.com/ceph/ceph/pull/62724
fix seems trivial, and the feature is quite new:
https://ceph.io/assets/pdfs/events/2024/ceph-days-nyc/Diving%20Deep%20with%20Squid.pdf
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
ceph/src/common/options/global.yaml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/options/global.yaml.in b/ceph/src/common/options/global.yaml.in
index 76a4f4d9551ada1ce20913197dab2b0bdb716b5c..c9b76d378aa7226944e8c0edb14956ad1265a4ae 100644
--- a/src/common/options/global.yaml.in
+++ b/src/common/options/global.yaml.in
@@ -4952,7 +4952,7 @@ options:
long_desc: Overwrites on snapped objects cause shared blob count to grow.
It has a very negative performance effect. When enabled shared blob count
is significantly reduced.
- default: true
+ default: false
flags:
- create
with_legacy: false

View File

@ -15,3 +15,4 @@
0015-debian-pkg-record-python3-packaging-dependency-for-c.patch
0016-d-control-fix-lua-dependencies-for-librgw2.patch
0017-common-pick_address-Add-IPv6-support-to-is_addr_in_s.patch
0018-disable-elastic_shared_blob-to-prevent-crashing-OSDs.patch