all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH docs/manager/storage 0/4] fix #8196: lvm: add a throughput limit for discards
@ 2026-11-20 13:32 Lukas Sichert
  2026-11-20 13:32 ` [PATCH storage 1/4] lvm: rename the saferemove throughput parser to parse_throughput Lukas Sichert
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Lukas Sichert @ 2026-11-20 13:32 UTC (permalink / raw)
  To: pve-devel; +Cc: Lukas Sichert

Unthrottled discards can overload the controllers of enterprise storage
arrays. The cleanup worker discards removed volumes in bounded batches
that share the loop pacing the saferemove writes, so limiting the rate
there throttles discards too.

This series adds a 'discard_throughput' option to 'on-volume-remove'. It
takes the same values as 'saferemove_throughput'. If both are set while
wiping, the lower limit is used, since both go through the same pacing
loop. Not setting the option, or setting it to zero, means no limit from
this option.

The option only has an effect if 'discard' is enabled. It can be set
through the API or CLI. The storage edit dialog has no field for it, but
saving the dialog no longer drops it.

Link: https://bugzilla.proxmox.com/show_bug.cgi?id=8196


storage:

Lukas Sichert (2):
  lvm: rename the saferemove throughput parser to parse_throughput
  fix #8196: lvm: add discard throughput limit

 src/PVE/Storage/LVMPlugin.pm        | 30 +++++++++++++++++-----
 src/test/run_test_lvm_throughput.pl | 40 +++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 6 deletions(-)


manager:

Lukas Sichert (1):
  ui: lvm: keep other on-volume-remove options when editing

 www/manager6/storage/LVMEdit.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


docs:

Lukas Sichert (1):
  storage: lvm: document the discard throughput limit

 pve-storage-lvm.adoc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


Summary over all repositories:
  4 files changed, 74 insertions(+), 8 deletions(-)

-- 
Generated by murpp 0.12.0




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-20 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH docs 4/4] storage: lvm: document the discard throughput limit Lukas Sichert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal