public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES qemu-server v2 0/4] fix #8371: bump timeout for more block QMP commands
@ 2026-11-30 10:54 Fiona Ebner
  2026-11-30 10:54 ` [PATCH qemu-server v2 1/4] blockdev: resize: bump timeout for resize QMP command to 10 minutes Fiona Ebner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fiona Ebner @ 2026-11-30 10:54 UTC (permalink / raw)
  To: pve-devel

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-30 10:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [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

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