public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [PATCH proxmox-backup 0/3] fix #8373: avoid loosing fs feature flags on mountpoints
Date: Thu, 26 Nov 2026 17:49:17 +0100	[thread overview]
Message-ID: <20261126164920.539641-1-c.ebner@proxmox.com> (raw)

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(-)

-- 
2.47.3





             reply	other threads:[~2026-11-26 16:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 16:49 Christian Ebner [this message]
2026-11-26 16:49 ` [PATCH proxmox-backup 1/3] client: pxar: refactor metadata gathering helpers into MetadataAggregator Christian Ebner
2026-11-26 16:49 ` [PATCH proxmox-backup 2/3] client: pxar: encapsulate filesystem info in FsInfo Christian Ebner
2026-11-26 16:49 ` [PATCH proxmox-backup 3/3] fix #8373: client: pxar: avoid losing fs feature flags on mountpoints Christian Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126164920.539641-1-c.ebner@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal