From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH qemu-server v2 1/4] blockdev: resize: bump timeout for resize QMP command to 10 minutes
Date: Mon, 30 Nov 2026 11:54:14 +0100 [thread overview]
Message-ID: <20261130105428.49588-2-f.ebner@proxmox.com> (raw)
In-Reply-To: <20261130105428.49588-1-f.ebner@proxmox.com>
Most other block commands doing IO have a 10 minute timeout, so
align the timeout for 'block_resize' to that as well for consistency.
Commit 190c8461 ("increase timeout for QMP block_resize") already
increased it to a minute, but there does not seem to be a good reason
to require a shorter timeout than other block operations.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
src/PVE/QMPClient.pm | 1 +
src/PVE/QemuServer/Blockdev.pm | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/QMPClient.pm b/src/PVE/QMPClient.pm
index 607aec6b..c91b6796 100644
--- a/src/PVE/QMPClient.pm
+++ b/src/PVE/QMPClient.pm
@@ -146,6 +146,7 @@ sub cmd {
$cmd->{execute} eq 'backup-cancel'
|| $cmd->{execute} eq 'block-commit'
|| $cmd->{execute} eq 'block-export-del'
+ || $cmd->{execute} eq 'block_resize'
|| $cmd->{execute} eq 'block-stream'
|| $cmd->{execute} eq 'blockdev-del'
|| $cmd->{execute} eq 'blockdev-mirror'
diff --git a/src/PVE/QemuServer/Blockdev.pm b/src/PVE/QemuServer/Blockdev.pm
index c2989a37..806a08aa 100644
--- a/src/PVE/QemuServer/Blockdev.pm
+++ b/src/PVE/QemuServer/Blockdev.pm
@@ -750,7 +750,6 @@ sub resize {
# -drive, there is no top throttle node, so this also is the correct node.
'node-name' => "$inserted->{'node-name'}",
size => int($size),
- timeout => 60,
);
}
--
2.47.3
next prev parent reply other threads:[~2026-11-30 10:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 10:54 [PATCH-SERIES qemu-server v2 0/4] fix #8371: bump timeout for more block QMP commands Fiona Ebner
2026-11-30 10:54 ` Fiona Ebner [this message]
2026-11-30 10:54 ` [PATCH qemu-server v2 2/4] fix #8371: qmp client: bump timeout for query-block for long-running operations Fiona Ebner
2026-11-30 10:54 ` [PATCH qemu-server v2 3/4] blockdev: detach: allow specifying custom timeout Fiona Ebner
2026-11-30 10:54 ` [PATCH qemu-server v2 4/4] qmp client: bump timeout for query-named-block-nodes for long-running operations Fiona Ebner
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=20261130105428.49588-2-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.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.