From: Joao Sousa via pve-devel <pve-devel@lists.proxmox.com>
To: Fiona Ebner <f.ebner@proxmox.com>,
Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Cc: Joao Sousa <joao.sousa@eurotux.com>
Subject: Re: [pve-devel] [PATCH qemu-server 0/2] set write threshold logic
Date: Mon, 11 Aug 2025 21:34:34 +0100 [thread overview]
Message-ID: <mailman.758.1754944485.367.pve-devel@lists.proxmox.com> (raw)
In-Reply-To: <dc603c33-dfd6-4327-ba1d-3dab2f97e25d@proxmox.com>
[-- Attachment #1: Type: message/rfc822, Size: 4986 bytes --]
From: Joao Sousa <joao.sousa@eurotux.com>
To: Fiona Ebner <f.ebner@proxmox.com>, Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH qemu-server 0/2] set write threshold logic
Date: Mon, 11 Aug 2025 21:34:34 +0100
Message-ID: <65e2f286-320a-435c-9846-24aad68f9db7@eurotux.com>
On 8/4/25 10:14 AM, Fiona Ebner wrote:
> blockdev_add()/Blockdev::attach() are only called for hot-plugged disks,
> not disks already present at start-up time. You either need to set the
> threshold as part of the blockdev options in the generate_*_blockdev()
> functions (if that is possible, would be preferred) or issue the QMP
> commands for the initially present disks right after VM start (in
> vm_start_nolock(), we already do something similar for ballooning).
AFAIK the write threshold cannot be set when the blockdev is created, at
least for now. As you suggested, I was able to loop over every volume in
vm_start_lock() and the threshold is being set correctly.
Thanks!
Best regards,
Tiago
[-- 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
next prev parent reply other threads:[~2025-08-11 20:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 10:00 [pve-devel] [RFC storage/qemu-server] Thin provisioning on LVM Joao Sousa via pve-devel
2025-07-25 14:46 ` Tiago Sousa via pve-devel
2025-08-02 16:42 ` [pve-devel] [PATCH qemu-server 0/2] set write threshold logic Tiago Sousa via pve-devel
2025-08-04 9:14 ` Fiona Ebner
2025-08-11 20:34 ` Joao Sousa via pve-devel [this message]
[not found] ` <20250802164240.21751-1-joao.sousa@eurotux.com>
2025-08-02 16:42 ` [pve-devel] [PATCH qemu-server 1/2] blockdev: add set write threshold Tiago Sousa via pve-devel
2025-08-02 16:42 ` [pve-devel] [PATCH qemu-server 2/2] qmeventd: add block write threshold event handling Tiago Sousa 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.758.1754944485.367.pve-devel@lists.proxmox.com \
--to=pve-devel@lists.proxmox.com \
--cc=f.ebner@proxmox.com \
--cc=joao.sousa@eurotux.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