From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 6C1EE1FF09D for ; Mon, 02 Nov 2026 00:00:47 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id BA0DF2181C; Sun, 01 Nov 2026 23:59:17 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com Subject: [PATCH manager 18/19] ui: add cluster-wide and storage backup concurrency limits Date: Sun, 1 Nov 2026 23:58:45 +0100 Message-ID: <20261101225849.884587-19-t.lamprecht@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261101225849.884587-1-t.lamprecht@proxmox.com> References: <20261101225849.884587-1-t.lamprecht@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1793573948902 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.387 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: ELSMYVUXEMLR6WJH35JBQCZ2MAB5U4O6 X-Message-ID-Hash: ELSMYVUXEMLR6WJH35JBQCZ2MAB5U4O6 X-MailFrom: t.lamprecht@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 VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Expose the cluster-wide limit next to the per-node one in the datacenter options, and the limit of a storage in the advanced section of the storage edit window, so admins can protect shared systems from too many parallel backups without editing configuration files. Signed-off-by: Thomas Lamprecht --- www/manager6/dc/OptionView.js | 8 ++++++++ www/manager6/storage/Base.js | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js index ac0f0bdd1..851288a96 100644 --- a/www/manager6/dc/OptionView.js +++ b/www/manager6/dc/OptionView.js @@ -372,6 +372,14 @@ Ext.define('PVE.dc.OptionView', { minValue: 1, submitValue: true, }, + { + xtype: 'proxmoxintegerfield', + name: 'cluster', + fieldLabel: gettext('Cluster-wide'), + emptyText: gettext('Unlimited'), + minValue: 1, + submitValue: true, + }, ], }); me.add_inputpanel_row('next-id', gettext('Next Free VMID Range'), { diff --git a/www/manager6/storage/Base.js b/www/manager6/storage/Base.js index 8961460b0..c66e0b20f 100644 --- a/www/manager6/storage/Base.js +++ b/www/manager6/storage/Base.js @@ -62,6 +62,23 @@ Ext.define('PVE.panel.StorageBase', { } }; + if (me.type !== 'esxi') { + addAdvancedWidget({ + xtype: 'proxmoxintegerfield', + name: 'backup-concurrency', + fieldLabel: gettext('Backup Concurrency'), + emptyText: gettext('Unlimited'), + minValue: 1, + deleteEmpty: !me.isCreate, + autoEl: { + tag: 'div', + 'data-qtip': gettext( + 'Guest backups using this storage at the same time, as target or for guest disks. Counted for the whole cluster if the storage is shared, otherwise on each node.', + ), + }, + }); + } + const qemuImgStorageTypes = ['dir', 'btrfs', 'nfs', 'cifs']; if (qemuImgStorageTypes.includes(me.type)) { -- 2.47.3