From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 076D51FF39B for ; Mon, 17 Jun 2024 11:29:03 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 67272C11; Mon, 17 Jun 2024 11:29:05 +0200 (CEST) Date: Mon, 17 Jun 2024 11:28:27 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20240612131713.133353-1-c.ebner@proxmox.com> In-Reply-To: <20240612131713.133353-1-c.ebner@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1718616499.mgt0kjmh6w.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.057 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pbs-devel] applied-series: [PATCH v4 pxar proxmox-backup 0/3] fix fuse mount performance for split archives X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" thanks! On June 12, 2024 3:17 pm, Christian Ebner wrote: > Fuse mounts for split pxar archives currently greatly suffer from the > consistency check between metadata and payload data archives, as > these happen already during decoding of the payload reference entry > in the metadata archive. By moving this check to the content reader > instantiation, the performance can be improved significantly, as now > the payload data chunks only need to be fetched and decoded when > actually accessing the file payloads. > > Changes since version 3: > - fix missing adaption to tests for already applied patches > - move ContentRange to accessor > - move payload header check to FileContentsImpl new method, make it private > - drop unsafe from `open_contents_at_range` > > Changes since version 2: > - Make helper and ContentRange pub(crate) only > - Fix typo in commit message > - Move incorrectly squashed cargo fmt patch into own patch > > Changes since version 1: > - Add previously missing check when accessing contents via the accessor > instead of the decoder. > - Add missing context and refactor file entry extraction branch in pxar > extract according to suggestions > > pxar: > > Christian Ebner (2): > tests: adapt tests to decoder interface changes > accessor: adapt and restrict contents access > > src/accessor/aio.rs | 16 ++++++----- > src/accessor/mod.rs | 68 ++++++++++++++++++++++++++++++++------------ > src/accessor/sync.rs | 16 ++++++----- > tests/compat.rs | 1 + > tests/simple/fs.rs | 2 +- > 5 files changed, 70 insertions(+), 33 deletions(-) > > proxmox-backup: > > Christian Ebner (1): > client: pxar: fix fuse mount performance for split archives > > pbs-client/src/pxar/extract.rs | 62 ++++++++++++++++------------------ > pbs-pxar-fuse/src/lib.rs | 19 ++++++----- > src/api2/tape/restore.rs | 2 +- > 3 files changed, 41 insertions(+), 42 deletions(-) > > -- > 2.39.2 > > > > _______________________________________________ > pbs-devel mailing list > pbs-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel > > > _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel