Re: [PATCH 3/3] migration/multifd: fix potential wrong acception order of IOChannel

2019-10-25 Thread Jiahui Cen
On 2019/10/24 22:34, Daniel P. Berrangé wrote: > On Thu, Oct 24, 2019 at 09:53:24PM +0800, cenjiahui wrote: >> On 2019/10/24 17:52, Daniel P. Berrangé wrote: >>> On Wed, Oct 23, 2019 at 11:32:14AM +0800, cenjiahui wrote: From: Jiahui Cen Multifd assumes the migration thread IOCha

Re: [PATCH 3/3] migration/multifd: fix potential wrong acception order of IOChannel

2019-10-24 Thread Daniel P . Berrangé
On Thu, Oct 24, 2019 at 09:53:24PM +0800, cenjiahui wrote: > On 2019/10/24 17:52, Daniel P. Berrangé wrote: > > On Wed, Oct 23, 2019 at 11:32:14AM +0800, cenjiahui wrote: > >> From: Jiahui Cen > >> > >> Multifd assumes the migration thread IOChannel is always established before > >> the multifd IO

Re: [PATCH 3/3] migration/multifd: fix potential wrong acception order of IOChannel

2019-10-24 Thread cenjiahui
On 2019/10/24 17:52, Daniel P. Berrangé wrote: > On Wed, Oct 23, 2019 at 11:32:14AM +0800, cenjiahui wrote: >> From: Jiahui Cen >> >> Multifd assumes the migration thread IOChannel is always established before >> the multifd IOChannels, but this assumption will be broken in many situations >> like

Re: [PATCH 3/3] migration/multifd: fix potential wrong acception order of IOChannel

2019-10-24 Thread Daniel P . Berrangé
On Wed, Oct 23, 2019 at 11:32:14AM +0800, cenjiahui wrote: > From: Jiahui Cen > > Multifd assumes the migration thread IOChannel is always established before > the multifd IOChannels, but this assumption will be broken in many situations > like network packet loss. > > For example: > Step1: Sour

[PATCH 3/3] migration/multifd: fix potential wrong acception order of IOChannel

2019-10-22 Thread cenjiahui
From: Jiahui Cen Multifd assumes the migration thread IOChannel is always established before the multifd IOChannels, but this assumption will be broken in many situations like network packet loss. For example: Step1: Source (migration thread IOChannel) --SYN--> Destination Step2: Source (migra