all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "DERUMIER, Alexandre via pve-devel" <pve-devel@lists.proxmox.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>,
	"f.ebner@proxmox.com" <f.ebner@proxmox.com>
Cc: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
Subject: Re: [pve-devel] [PATCH V3 pve-storage] lvm: use blkdiscard instead cstream to saferemove drive
Date: Mon, 20 Oct 2025 14:37:52 +0000	[thread overview]
Message-ID: <mailman.124.1760971113.362.pve-devel@lists.proxmox.com> (raw)
In-Reply-To: <efdea60f-1dbe-4912-acea-6a111087f367@proxmox.com>

[-- Attachment #1: Type: message/rfc822, Size: 12769 bytes --]

From: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>, "f.ebner@proxmox.com" <f.ebner@proxmox.com>
Subject: Re: [pve-devel] [PATCH V3 pve-storage] lvm: use blkdiscard instead cstream to saferemove drive
Date: Mon, 20 Oct 2025 14:37:52 +0000
Message-ID: <7835c5768097161a8bdb53890c15ad3e4d93c7ca.camel@groupe-cyllene.com>

> 
> "There are no restrictions when using blkdiscard -z, although
> blkdiscard performs roughly the same as dd if the storage does not
> support write same."

>>At a glance, the implementation of blkdiscard doesn't seem to have a
>>fallback and will just exit with error if the BLKZEROOUT ioctl()
>>fails:
>>https://github.com/util-linux/util-linux/blob/stable/v2.41/sys-
>>utils/blkdiscard.c#L303

Thanks to have looked at it!

So I'll readd the cstream as fallback to be sure && keep
saferemove_throughput too ?



[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

  reply	other threads:[~2025-10-20 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-18 12:08 Alexandre Derumier via pve-devel
2025-09-22 14:06 ` Fiona Ebner
2025-10-20  7:56   ` DERUMIER, Alexandre via pve-devel
     [not found]   ` <dd465feaf024d147accab248c89b101cef8df169.camel@groupe-cyllene.com>
2025-10-20 14:33     ` Fiona Ebner
2025-10-20 14:37       ` DERUMIER, Alexandre via pve-devel [this message]
2025-10-20 14:54       ` Fiona Ebner
     [not found]       ` <7835c5768097161a8bdb53890c15ad3e4d93c7ca.camel@groupe-cyllene.com>
2025-10-20 15:15         ` Fiona Ebner
2025-10-20 15:18           ` DERUMIER, Alexandre via pve-devel

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=mailman.124.1760971113.362.pve-devel@lists.proxmox.com \
    --to=pve-devel@lists.proxmox.com \
    --cc=alexandre.derumier@groupe-cyllene.com \
    --cc=f.ebner@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 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