From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 885C4BFE50 for ; Tue, 9 Jan 2024 15:51:09 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 591FD19E4A for ; Tue, 9 Jan 2024 15:50:39 +0100 (CET) Received: from bastionodiso.odiso.net (bastionodiso.odiso.net [IPv6:2a0a:1580:2000::2d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Tue, 9 Jan 2024 15:50:37 +0100 (CET) Received: from kvmformation3.odiso.net (formationkvm3.odiso.net [10.3.94.12]) by bastionodiso.odiso.net (Postfix) with ESMTP id 21B4D82AD; Tue, 9 Jan 2024 15:50:31 +0100 (CET) Received: by kvmformation3.odiso.net (Postfix, from userid 0) id 151B785016; Tue, 9 Jan 2024 15:50:31 +0100 (CET) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Tue, 9 Jan 2024 15:50:29 +0100 Message-Id: <20240109145030.1647121-2-aderumier@odiso.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240109145030.1647121-1-aderumier@odiso.com> References: <20240109145030.1647121-1-aderumier@odiso.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.024 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy HEADER_FROM_DIFFERENT_DOMAINS 0.248 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH ceph 1/2] patch: debian/rules: fix build type X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2024 14:51:09 -0000 source: https://github.com/ceph/ceph/pull/54891 build packages with 'RelWithDebInfo' to avoid to build rocksdb in debug This is already the default in ubuntu packages https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1894453 --- patches/0021-debian-rules-fix-buildtype.patch | 22 +++++++++++++++++++ patches/series | 1 + 2 files changed, 23 insertions(+) create mode 100644 patches/0021-debian-rules-fix-buildtype.patch diff --git a/patches/0021-debian-rules-fix-buildtype.patch b/patches/0021-debian-rules-fix-buildtype.patch new file mode 100644 index 000000000..8b6ef6b56 --- /dev/null +++ b/patches/0021-debian-rules-fix-buildtype.patch @@ -0,0 +1,22 @@ +From 1f4b106d49fc916994d97e273599f75caa904c3b Mon Sep 17 00:00:00 2001 +From: Mark Nelson +Date: Thu, 14 Dec 2023 05:19:46 +0000 +Subject: [PATCH] debian/rules: Fix build_type for massive performance gain + +Signed-off-by: Mark Nelson +--- + debian/rules | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/debian/rules b/debian/rules +index ed7f4a255ed4b..b28abb7d62788 100755 +--- a/debian/rules ++++ b/debian/rules +@@ -29,6 +29,7 @@ extraopts += -DWITH_PYTHON3=3 + extraopts += -DWITH_CEPHFS_JAVA=ON + extraopts += -DWITH_CEPHFS_SHELL=ON + extraopts += -DWITH_SYSTEMD=ON -DCEPH_SYSTEMD_ENV_DIR=/etc/default ++extraopts += -DCMAKE_BUILD_TYPE=RelWithDebInfo + extraopts += -DWITH_GRAFANA=ON + ifeq ($(DEB_HOST_ARCH), amd64) + extraopts += -DWITH_RBD_RWL=ON diff --git a/patches/series b/patches/series index 67a52ae7c..d9a3ff8f4 100644 --- a/patches/series +++ b/patches/series @@ -13,3 +13,4 @@ 0016-d-rules-fix-no-restart-on-upgrade.patch 0017-python3.10-pep-620.patch 0020-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch +0021-debian-rules-fix-buildtype.patch \ No newline at end of file -- 2.39.2