From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 0E0AB1FF0AF for ; Fri, 20 Nov 2026 14:33:13 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 50DC621791; Fri, 20 Nov 2026 14:32:57 +0100 (CET) From: Lukas Sichert To: pve-devel@lists.proxmox.com Subject: [PATCH docs 4/4] storage: lvm: document the discard throughput limit Date: Fri, 20 Nov 2026 14:32:43 +0100 Message-ID: <20261120133245.51042-5-l.sichert@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261120133245.51042-1-l.sichert@proxmox.com> References: <20261120133245.51042-1-l.sichert@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1795181573655 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.437 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: 2QI37P7SYS4ZUXANM45DPKR5TFAKTFXI X-Message-ID-Hash: 2QI37P7SYS4ZUXANM45DPKR5TFAKTFXI X-MailFrom: l.sichert@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 CC: Lukas Sichert X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Describe the discard_throughput option of on-volume-remove and how it combines with saferemove_throughput. Unthrottled discards can overload the controllers of enterprise storage arrays. Signed-off-by: Lukas Sichert --- pve-storage-lvm.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pve-storage-lvm.adoc b/pve-storage-lvm.adoc index d09206b..5d9c601 100644 --- a/pve-storage-lvm.adoc +++ b/pve-storage-lvm.adoc @@ -67,6 +67,10 @@ zeroing step size and the discard granularity. The accumulated range is then discarded before processing continues. This prevents complete discard chunks from being skipped and avoids allocating the whole LV with zeroes on thin-provisioned backing storage before the space can be reclaimed again. ++ +Set `discard_throughput` to limit the discard rate in bytes per second. It only +takes effect if `discard` is enabled. If `saferemove_throughput` is set as well, +the lower limit applies. `saferemove-stepsize`:: @@ -77,7 +81,8 @@ underlying storage. Up to 32 MiB (maximum) by default. Limits wipe throughput. If the backing storage supports the "write zeroes" operation, throughput is unlimited by default. Otherwise, manually written -zeroes are limited to 10 MiB/s by default. +zeroes are limited to 10 MiB/s by default. If `discard` is enabled and +`discard_throughput` is set as well, the lower limit applies. `snapshot-as-volume-chain`:: -- 2.47.3