[pve-devel] applied: [PATCH v5 pve-storage 1/2] lvmplugin: use blkdiscard when supported instead cstream to saferemove drive

Fiona Ebner f.ebner at proxmox.com
Mon Oct 27 16:47:48 CET 2025


On Thu, 23 Oct 2025 14:23:30 +0200, Alexandre Derumier via pve-devel wrote:
> Current cstream implementation is pretty slow, even without throttling.
> 
> use blkdiscard --zeroout instead when storage support it,
> which is a few magnitudes faster.
> 
> Another benefit is that blkdiscard is skipping already zeroed block, so for empty
> temp images like snapshot, is pretty fast.
> 
> [...]

Applied both patches, with some minor language and style fixups
squashed in, thanks!

[1/2] lvmplugin: use blkdiscard when supported instead cstream to saferemove drive
      commit: 728d8f39925d2c694ee49c79d65c2156f2553a9a
[2/2] fix #6941: lvmplugin: fix volume activation of raw disk before secure delete
      commit: d5995ffbf73235840fdbd281aeb5034f669a410f




More information about the pve-devel mailing list