From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 554881FF0B7 for ; Mon, 30 Nov 2026 11:54:38 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id B78C02170A; Mon, 30 Nov 2026 11:54:35 +0100 (CET) From: Fiona Ebner 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 Message-ID: <20261130105428.49588-2-f.ebner@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261130105428.49588-1-f.ebner@proxmox.com> References: <20261130105428.49588-1-f.ebner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1796036071475 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.241 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 4DVAYQX5OCUCGTPZUOJMMZBWSP74CIT3 X-Message-ID-Hash: 4DVAYQX5OCUCGTPZUOJMMZBWSP74CIT3 X-MailFrom: f.ebner@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- 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