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 96F931FF141 for ; Tue, 02 Jun 2026 15:00:27 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 20F47134B3; Tue, 2 Jun 2026 15:00:27 +0200 (CEST) From: Robert Obkircher To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox{,-backup} 00/11] add GarbageCollection maintenance mode Date: Tue, 2 Jun 2026 14:58:51 +0200 Message-ID: <20260602130001.217482-1-r.obkircher@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1780405187827 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.055 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [namespace.rs,proxmox-backup-proxy.rs,mod.rs,datastore.rs,proxmox.com,maintenance.rs] Message-ID-Hash: 5MEXNIW3K7YQ652EXZGWF2SEDY6LDVJQ X-Message-ID-Hash: 5MEXNIW3K7YQ652EXZGWF2SEDY6LDVJQ X-MailFrom: r.obkircher@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 Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add a maintenance mode that allows reclaiming storage space without the risk of running out of space because of new backups. Changes since [RFC]: * Excluded the space-check patches. I'll send them separately. * Propagate maintenance mode parse errors. * Rename Operation::Prune to Operation::WriteNonExpanding. * Track them in active operations to display GC mode conflicts. * Replace if-else with match in maintenance mode check. * Fixed typos and added Bugzilla url trailers. [RFC] https://lore.proxmox.com/pbs-devel/20260430150607.330413-1-r.obkircher@proxmox.com/ proxmox: Robert Obkircher (5): pbs-api-types: propagate maintenance mode parse errors pbs-api-types: use match statement for maintenance mode check pbs-api-types: deny non-lookup operations for unknown modes pbs-api-types: add WriteNonExpanding datastore operation pbs-api-types: add GarbageCollection maintenance mode pbs-api-types/src/datastore.rs | 23 ++++++++++------- pbs-api-types/src/maintenance.rs | 44 +++++++++++++++++--------------- 2 files changed, 37 insertions(+), 30 deletions(-) proxmox-backup: Robert Obkircher (6): datastore: propagate maintenance mode parse errors task tracking: use parameter for initial count and refactor updates www: access active operation fields by name instead of index task tracking: count WriteNonExpanding datastore operations datastore: open datastores with WriteNonExpanding instead of Write fix #5797: www: display new GarbageCollection maintenance mode pbs-datastore/src/datastore.rs | 17 +++++--- pbs-datastore/src/task_tracking.rs | 64 +++++++++++++++++++---------- src/api2/admin/datastore.rs | 15 +++---- src/api2/admin/namespace.rs | 2 +- src/bin/proxmox-backup-proxy.rs | 2 +- src/server/metric_collection/mod.rs | 7 ++-- src/server/prune_job.rs | 2 +- www/Utils.js | 4 ++ www/datastore/OptionView.js | 12 +++++- www/window/MaintenanceOptions.js | 1 + 10 files changed, 83 insertions(+), 43 deletions(-) Summary over all repositories: 12 files changed, 120 insertions(+), 73 deletions(-) -- Generated by git-murpp 0.8.1