From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 2F8FC1FF0B3 for ; Thu, 26 Nov 2026 17:49:18 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id B189A21712; Thu, 26 Nov 2026 17:49:16 +0100 (CET) Message-ID: Date: Thu, 26 Nov 2026 17:49:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH proxmox-backup 0/3] fix #8373: avoid loosing fs feature flags on mountpoints To: pve-devel@lists.proxmox.com References: <20261126164621.537721-1-c.ebner@proxmox.com> Content-Language: en-US, de-DE From: Christian Ebner In-Reply-To: <20261126164621.537721-1-c.ebner@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1795711751938 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.348 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: JUH2KENSCYWBG5LWW6OPIV6O3NILWAB3 X-Message-ID-Hash: JUH2KENSCYWBG5LWW6OPIV6O3NILWAB3 X-MailFrom: c.ebner@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: On 11/26/26 5:46 PM, Christian Ebner wrote: > FS feature flags control which metadata attributes are supported by > the filesystem and which can be skipped since known to not be > supported. For filesystems not known to the client, a try all > approach is used, enabling all fs features and clear them when the > filesystem errors with missing support on the first tried entry. > This however incorrectly cleared the flag from the global pxar > archiver state for all subsequent entries, not just the ones on the > filesystem not supporting them. > > To fix this, first refactor the whole metadata gathering logic in > order to decouple and encapsulate the logic from the pxar archiver > and bundle state information from the filesystem into a dedicated > type. Then introduce a cache to store any encountered filesystem, > identified by device id, and use the cached information to identify > mountpoint boundaries and supported fs feature flags. This has the > advantage that it is now better decoupled from the current state of > the archiver. > > Link to the issue in the bugtracker: > https://bugzilla.proxmox.com/show_bug.cgi?id=8373 > > Christian Ebner (3): > client: pxar: refactor metadata gathering helpers into > MetadataAggregator > client: pxar: encapsulate filesystem info in FsInfo > fix #8373: client: pxar: avoid losing fs feature flags on mountpoints > > pbs-client/src/pxar/create.rs | 498 ++++---------------------------- > pbs-client/src/pxar/metadata.rs | 482 ++++++++++++++++++++++++++++++- > 2 files changed, 531 insertions(+), 449 deletions(-) These patches were intended for pbs-devel list, please ignore.