[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] migration: check magic value for deciding the mapping of
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 2/5] migration: check magic value for deciding the mapping of channels |
Date: |
Wed, 14 Dec 2022 09:15:02 +0000 |
User-agent: |
Mutt/2.2.7 (2022-08-07) |
On Tue, Dec 13, 2022 at 04:38:47PM -0500, Peter Xu wrote:
> From: "manish.mishra" <manish.mishra@nutanix.com>
>
> Current logic assumes that channel connections on the destination side are
> always established in the same order as the source and the first one will
> always be the main channel followed by the multifid or post-copy
> preemption channel. This may not be always true, as even if a channel has a
> connection established on the source side it can be in the pending state on
> the destination side and a newer connection can be established first.
> Basically causing out of order mapping of channels on the destination side.
> Currently, all channels except post-copy preempt send a magic number, this
> patch uses that magic number to decide the type of channel. This logic is
> applicable only for precopy(multifd) live migration, as mentioned, the
> post-copy preempt channel does not send any magic number. Also, tls live
> migrations already does tls handshake before creating other channels, so
> this issue is not possible with tls, hence this logic is avoided for tls
> live migrations. This patch uses read peek to check the magic number of
> channels so that current data/control stream management remains
> un-effected.
>
> Reviewed-by: Peter Xu <peterx@redhat.com>
> Reviewed-by: Daniel P. Berrang?? <berrange@redhat.co
> Suggested-by: Daniel P. Berrang?? <berrange@redhat.com
Again, both name and email address termination is mangled.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 0/5] migration: Fix disorder of channel creations, Peter Xu, 2022/12/13
- [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, Peter Xu, 2022/12/13
- Re: [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, Daniel P . Berrangé, 2022/12/14
- Re: [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, Peter Xu, 2022/12/14
- Re: [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, Daniel P . Berrangé, 2022/12/15
- Re: [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, Peter Xu, 2022/12/15
- Re: [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, manish.mishra, 2022/12/16
- Re: [PATCH 1/5] io: Add support for MSG_PEEK for socket channel, Peter Xu, 2022/12/16
[PATCH 2/5] migration: check magic value for deciding the mapping of channels, Peter Xu, 2022/12/13
- Re: [PATCH 2/5] migration: check magic value for deciding the mapping of channels,
Daniel P . Berrangé <=
[PATCH 4/5] migration: Add a semaphore to count PONGs, Peter Xu, 2022/12/13
[PATCH 5/5] migration: Postpone postcopy preempt channel to be after main, Peter Xu, 2022/12/13
[PATCH 3/5] migration: Rework multi-channel checks on URI, Peter Xu, 2022/12/13