On Tue, Sep 28, 2021 at 7:49 PM Peter Xu wrote:
>
> On Fri, Sep 24, 2021 at 06:43:49PM +0100, Daniel P. Berrangé wrote:
> > > @@ -546,6 +546,7 @@ void multifd_save_cleanup(void)
> > > MultiFDSendParams *p = &multifd_send_state->params[i];
> > > Error *local_err = NULL;
> > >
> >
On Fri, Sep 24, 2021 at 2:44 PM Daniel P. Berrangé wrote:
>
> On Wed, Sep 22, 2021 at 07:24:23PM -0300, Leonardo Bras wrote:
> > Change multifd nocomp version to use asynchronous write for RAM pages, and
> > benefit of MSG_ZEROCOPY when it's available.
> >
> > The asynchronous flush happens on cle
On Fri, Sep 24, 2021 at 06:43:49PM +0100, Daniel P. Berrangé wrote:
> > @@ -546,6 +546,7 @@ void multifd_save_cleanup(void)
> > MultiFDSendParams *p = &multifd_send_state->params[i];
> > Error *local_err = NULL;
> >
> > +qio_channel_async_flush(p->c, NULL);
> >
On Wed, Sep 22, 2021 at 07:24:23PM -0300, Leonardo Bras wrote:
> Change multifd nocomp version to use asynchronous write for RAM pages, and
> benefit of MSG_ZEROCOPY when it's available.
>
> The asynchronous flush happens on cleanup only, before destroying the
> QIOChannel.
>
> This will work fi
Change multifd nocomp version to use asynchronous write for RAM pages, and
benefit of MSG_ZEROCOPY when it's available.
The asynchronous flush happens on cleanup only, before destroying the
QIOChannel.
This will work fine on RAM migration because the RAM pages are not usually
freed,
and there i