public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-backup 0/3] fix #8373: avoid loosing fs feature flags on mountpoints
@ 2026-11-26 16:49 Christian Ebner
  2026-11-26 16:49 ` [PATCH proxmox-backup 1/3] client: pxar: refactor metadata gathering helpers into MetadataAggregator Christian Ebner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Ebner @ 2026-11-26 16:49 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-26 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 16:49 [PATCH proxmox-backup 0/3] fix #8373: avoid loosing fs feature flags on mountpoints Christian Ebner
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

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