From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 68B571FF0C0 for ; Wed, 18 Nov 2026 07:53:19 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 1874A2167E; Wed, 18 Nov 2026 07:53:10 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com Subject: [PATCH v6 cluster 01/42] cfs: observe the multipath configuration files Date: Wed, 18 Nov 2026 07:52:18 +0100 Message-ID: <20261118065302.3033937-2-t.lamprecht@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261118065302.3033937-1-t.lamprecht@proxmox.com> References: <20261118065302.3033937-1-t.lamprecht@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1794984786948 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.184 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: D6FYCQAYTUYT34NJWX6KNU7KU3QB7CB3 X-Message-ID-Hash: D6FYCQAYTUYT34NJWX6KNU7KU3QB7CB3 X-MailFrom: t.lamprecht@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: pve-storage needs to register and lock /etc/pve/multipath.cfg and /etc/pve/multipath-overrides.conf through PVE::Cluster. Add them to the observed files so pmxcfs tracks their versions and readers can cache the parsed configuration until it changes. Signed-off-by: Thomas Lamprecht --- src/PVE/Cluster.pm | 2 ++ src/pmxcfs/status.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/PVE/Cluster.pm b/src/PVE/Cluster.pm index 6ace846..176865f 100644 --- a/src/PVE/Cluster.pm +++ b/src/PVE/Cluster.pm @@ -50,6 +50,8 @@ my $observed = { 'vzdump.conf' => 1, 'jobs.cfg' => 1, 'storage.cfg' => 1, + 'multipath.cfg' => 1, + 'multipath-overrides.conf' => 1, 'datacenter.cfg' => 1, 'replication.cfg' => 1, 'corosync.conf' => 1, diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c index 8538d8b..334566a 100644 --- a/src/pmxcfs/status.c +++ b/src/pmxcfs/status.c @@ -81,6 +81,8 @@ static memdb_change_t memdb_change_array[] = { {.path = "corosync.conf"}, {.path = "corosync.conf.new"}, {.path = "storage.cfg"}, + {.path = "multipath.cfg"}, + {.path = "multipath-overrides.conf"}, {.path = "user.cfg"}, {.path = "domains.cfg"}, {.path = "notifications.cfg"},