public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH-SERIES qemu-server v2 0/4] fix #8371: bump timeout for more block QMP commands
Date: Mon, 30 Nov 2026 11:54:13 +0100	[thread overview]
Message-ID: <20261130105428.49588-1-f.ebner@proxmox.com> (raw)

Changes in v2:
* Also bump timeout for block_resize.
* Also bump timeout for query-named-block-nodes.

The 'query-block' and 'query-named-block-nodes' QMP commands can do IO
on the underlying storage, for example via
.bdrv_co_get_allocated_file_size(), so can take some time. Use the
same timeout as for other block operations. There are a few cases,
where the command is reached during a short-lived hotplug or
hotunplug, so preserve the timeout of 5 seconds for those.

Also bump the timeout of 'block_resize' further, for consistency with
other block operations.

qemu-server:

Fiona Ebner (4):
  blockdev: resize: bump timeout for resize QMP command to 10 minutes
  fix #8371: qmp client: bump timeout for query-block for long-running
    operations
  blockdev: detach: allow specifying custom timeout
  qmp client: bump timeout for query-named-block-nodes for long-running
    operations

 src/PVE/QMPClient.pm           | 3 +++
 src/PVE/QemuServer.pm          | 4 ++--
 src/PVE/QemuServer/Blockdev.pm | 8 +++++---
 3 files changed, 10 insertions(+), 5 deletions(-)


Summary over all repositories:
  3 files changed, 10 insertions(+), 5 deletions(-)

-- 
Generated by git-murpp 0.5.0




             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 Fiona Ebner [this message]
2026-11-30 10:54 ` [PATCH qemu-server v2 1/4] blockdev: resize: bump timeout for resize QMP command to 10 minutes Fiona Ebner
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-1-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 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