all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES qemu-server 0/8] block job: monitor: improve completion handling and style
@ 2026-07-30 13:15 Fiona Ebner
  2026-07-30 13:15 ` [PATCH qemu-server 1/8] block job: monitor: avoid duplicate completion Fiona Ebner
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Fiona Ebner @ 2026-07-30 13:15 UTC (permalink / raw)
  To: pve-devel

Avoid issuing duplicate completes and printing duplicate log messages
when a job does not complete right away. This also avoids an
unnecessary failure that could arise with bad timing.

Avoid sleeping for a full second each time while waiting for
completion to benefit migration. This partially solves #7854.

Further, factor out the status printing from monitor(), clean up its
signature and properly document it.

qemu-server:

Fiona Ebner (8):
  block job: monitor: avoid duplicate completion
  block job: monitor: only print message that jobs are ready once
  partially fix #7854: block job: monitor: handle completion faster to
    benefit migration
  block job: monitor: factor out job status printing
  block job: monitor: make operation argument non-optional
  block job: monitor: rename 'op' argument to 'operation'
  block job: monitor: pass options as a hash
  block job: monitor: properly document function

 src/PVE/QemuMigrate.pm                    |   5 +-
 src/PVE/QemuServer.pm                     |  14 +-
 src/PVE/QemuServer/BlockJob.pm            | 168 +++++++++++++++-------
 src/PVE/QemuServer/VolumeChain.pm         |   4 +-
 src/test/MigrationTest/QemuMigrateMock.pm |   2 +-
 5 files changed, 131 insertions(+), 62 deletions(-)


Summary over all repositories:
  5 files changed, 131 insertions(+), 62 deletions(-)

-- 
Generated by git-murpp 0.5.0




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

end of thread, other threads:[~2026-07-30 13:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 13:15 [PATCH-SERIES qemu-server 0/8] block job: monitor: improve completion handling and style Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 1/8] block job: monitor: avoid duplicate completion Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 2/8] block job: monitor: only print message that jobs are ready once Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 3/8] partially fix #7854: block job: monitor: handle completion faster to benefit migration Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 4/8] block job: monitor: factor out job status printing Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 5/8] block job: monitor: make operation argument non-optional Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 6/8] block job: monitor: rename 'op' argument to 'operation' Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 7/8] block job: monitor: pass options as a hash Fiona Ebner
2026-07-30 13:15 ` [PATCH qemu-server 8/8] block job: monitor: properly document function Fiona Ebner

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal