All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] migration: Fix disorder of channel creations
@ 2023-02-02 21:24 Peter Xu
  2023-02-02 21:24 ` [PATCH v2 1/3] migration: Rework multi-channel checks on URI Peter Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Xu @ 2023-02-02 21:24 UTC (permalink / raw)
  To: qemu-devel
  Cc: Manish Mishra, Daniel P . Berrange, Juan Quintela,
	Dr . David Alan Gilbert, peterx, Leonardo Bras Soares Passos

This patchset is rebased to Juan's latest pull request:
Based-on: <20230202160640.2300-1-quintela@redhat.com>

I can trigger disordered connections with preempt mode postcopy (1 out of a
few attemps), which can cause migration to hang during precopy phase, if
e.g. I set the NIC packet loss rate to 50%.

Patch 1 is IMHO a cleanup that I'd think good to have even without patch
2/3.  Patch 3 actually fixes the ordering issue.  For each of the patch,
please refer to the commit message and comments in-code.

Any comment welcomed, thanks.

Peter Xu (3):
  migration: Rework multi-channel checks on URI
  migration: Add a semaphore to count PONGs
  migration: Postpone postcopy preempt channel to be after main

 migration/migration.c    | 121 ++++++++++++++++++++++++++-------------
 migration/migration.h    |  15 ++++-
 migration/multifd.c      |  12 +---
 migration/postcopy-ram.c |  31 +++++-----
 migration/postcopy-ram.h |   4 +-
 migration/savevm.c       |   6 +-
 6 files changed, 117 insertions(+), 72 deletions(-)

-- 
2.37.3



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

end of thread, other threads:[~2023-02-08 20:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02 21:24 [PATCH v2 0/3] migration: Fix disorder of channel creations Peter Xu
2023-02-02 21:24 ` [PATCH v2 1/3] migration: Rework multi-channel checks on URI Peter Xu
2023-02-08 19:19   ` Juan Quintela
2023-02-08 20:03     ` Peter Xu
2023-02-02 21:24 ` [PATCH v2 2/3] migration: Add a semaphore to count PONGs Peter Xu
2023-02-08 19:19   ` Juan Quintela
2023-02-02 21:24 ` [PATCH v2 3/3] migration: Postpone postcopy preempt channel to be after main Peter Xu

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.