public inbox for pve-devel@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>,
	"w.bumiller@proxmox.com" <w.bumiller@proxmox.com>
Cc: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
Subject: Re: [pve-devel] [PATCH pve-storage] lvm: use blkdiscard instead cstream to saferemove drive
Date: Fri, 15 Aug 2025 05:47:03 +0000	[thread overview]
Message-ID: <mailman.104.1755236833.385.pve-devel@lists.proxmox.com> (raw)
In-Reply-To: <mailman.103.1755234673.385.pve-devel@lists.proxmox.com>

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

From: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
To: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>, "w.bumiller@proxmox.com" <w.bumiller@proxmox.com>
Subject: Re: [pve-devel] [PATCH pve-storage] lvm: use blkdiscard instead cstream to saferemove drive
Date: Fri, 15 Aug 2025 05:47:03 +0000
Message-ID: <b2661e0b39c65aaf6e3ba5859fc932080cbb6464.camel@groupe-cyllene.com>

The doc from ovirt was a little bit old,

REQ_OP_WRITE_SAME is not used anymore in recent kernel,

REQ_OP_WRITE_ZEROES is used since 2017, and

/sys/block/dm-25/queue/write_zeroes_max_bytes

show if the feature is available. 

(it's was enabled on my test machine, that's why blkdiscard is a lot
faster than cstream)


[-- 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-08-15  5:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14  9:24 Alexandre Derumier via pve-devel
2025-08-14  9:37 ` Wolfgang Bumiller
2025-08-14 10:07   ` DERUMIER, Alexandre via pve-devel
     [not found]   ` <9d5353263ee0aa3ee67d8d331f674f8a00044b1e.camel@groupe-cyllene.com>
2025-08-14 12:05     ` Wolfgang Bumiller
2025-08-14 13:11       ` DERUMIER, Alexandre via pve-devel
2025-08-15  5:10       ` DERUMIER, Alexandre via pve-devel
2025-08-15  5:47         ` DERUMIER, Alexandre via pve-devel [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=mailman.104.1755236833.385.pve-devel@lists.proxmox.com \
    --to=pve-devel@lists.proxmox.com \
    --cc=alexandre.derumier@groupe-cyllene.com \
    --cc=w.bumiller@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