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 B2EA41FF0AF for ; Fri, 06 Nov 2026 01:49:47 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 0B56A215A1; Fri, 06 Nov 2026 01:49:44 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com Subject: [PATCH v3 cluster 03/76] cfs: observe the multipath configuration files Date: Fri, 6 Nov 2026 00:30:38 +0100 Message-ID: <20261105233336.2178064-4-t.lamprecht@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261105233336.2178064-1-t.lamprecht@proxmox.com> References: <20261105233336.2178064-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: 1793926177408 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.807 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: BMXYXILM6WBQHLQMO4OBWQQZWKFNXXO7 X-Message-ID-Hash: BMXYXILM6WBQHLQMO4OBWQQZWKFNXXO7 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 1661a26..5fe51ea 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 e1ab438..e746c17 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"}, -- 2.47.3