From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id A7797698AD for ; Fri, 7 Aug 2020 10:18:36 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9B86922F00 for ; Fri, 7 Aug 2020 10:18:36 +0200 (CEST) Received: from elsa.proxmox.com (212-186-127-178.static.upcbusiness.at [212.186.127.178]) by firstgate.proxmox.com (Proxmox) with ESMTP id B634E22EF7 for ; Fri, 7 Aug 2020 10:18:35 +0200 (CEST) Received: by elsa.proxmox.com (Postfix, from userid 0) id 93079AE3B57; Fri, 7 Aug 2020 10:18:35 +0200 (CEST) From: Dietmar Maurer To: pbs-devel@lists.proxmox.com, s.reiter@proxmox.com Date: Fri, 7 Aug 2020 10:18:20 +0200 Message-Id: <20200807081823.17200-1-dietmar@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -1.056 Adjusted score from AWL reputation of From: address 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [fs.rs, datastore.rs] Subject: [pbs-devel] [PATCH proxmox-backup 0/3] cleanup directory lock code 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: , X-List-Received-Date: Fri, 07 Aug 2020 08:18:36 -0000 This applies on top of the first three patches from stefan s series: [pbs-devel] [PATCH proxmox-backup 1/7] finish_backup: mark backup as finished only after checks have passed (already applied) [pbs-devel] [PATCH proxmox-backup 2/7] backup: only allow finished backups as base snapshot (already applied) [pbs-devel] [PATCH proxmox-backup 3/7] datastore: prevent in-use deletion with locks instead of heuristic (not applied) Dietmar Maurer (3): src/tools/fs.rs: new helper lock_dir_noblock src/backup/backup_info.rs: remove BackupGroup lock() src/backup/backup_info.rs: remove BackupInfo lock() src/backup/backup_info.rs | 86 ++------------------------------------- src/backup/datastore.rs | 19 ++++----- src/tools/fs.rs | 39 ++++++++++++++++-- 3 files changed, 47 insertions(+), 97 deletions(-) -- 2.20.1