public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Sichert <l.sichert@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Lukas Sichert <l.sichert@proxmox.com>
Subject: [PATCH docs 4/4] storage: lvm: document the discard throughput limit
Date: Fri, 20 Nov 2026 14:32:43 +0100	[thread overview]
Message-ID: <20261120133245.51042-5-l.sichert@proxmox.com> (raw)
In-Reply-To: <20261120133245.51042-1-l.sichert@proxmox.com>

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 <l.sichert@proxmox.com>
---
 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





      parent reply	other threads:[~2026-11-20 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 13:32 [PATCH docs/manager/storage 0/4] fix #8196: lvm: add a throughput limit for discards Lukas Sichert
2026-11-20 13:32 ` [PATCH storage 1/4] lvm: rename the saferemove throughput parser to parse_throughput Lukas Sichert
2026-11-20 13:32 ` [PATCH storage 2/4] fix #8196: lvm: add discard throughput limit Lukas Sichert
2026-11-20 13:32 ` [PATCH manager 3/4] ui: lvm: keep other on-volume-remove options when editing Lukas Sichert
2026-11-20 13:32 ` Lukas Sichert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261120133245.51042-5-l.sichert@proxmox.com \
    --to=l.sichert@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal