Re: [PATCH 13/14] migration/multifd: Move header prepare/fill into send_prepare()

2024-02-01 Thread Peter Xu
On Wed, Jan 31, 2024 at 06:31:10PM +0800, pet...@redhat.com wrote: > From: Peter Xu > > This patch redefines the interfacing of ->send_prepare(). It further > simplifies multifd_send_thread() especially on zero copy. > > Now with the new interface, we require the hook to do all the work for > p

Re: [PATCH 13/14] migration/multifd: Move header prepare/fill into send_prepare()

2024-02-01 Thread Peter Xu
On Wed, Jan 31, 2024 at 06:42:57PM -0300, Fabiano Rosas wrote: > pet...@redhat.com writes: > > > From: Peter Xu > > > > This patch redefines the interfacing of ->send_prepare(). It further > > simplifies multifd_send_thread() especially on zero copy. > > > > Now with the new interface, we requir

Re: [PATCH 13/14] migration/multifd: Move header prepare/fill into send_prepare()

2024-01-31 Thread Fabiano Rosas
pet...@redhat.com writes: > From: Peter Xu > > This patch redefines the interfacing of ->send_prepare(). It further > simplifies multifd_send_thread() especially on zero copy. > > Now with the new interface, we require the hook to do all the work for > preparing the IOVs to send. After it's com

[PATCH 13/14] migration/multifd: Move header prepare/fill into send_prepare()

2024-01-31 Thread peterx
From: Peter Xu This patch redefines the interfacing of ->send_prepare(). It further simplifies multifd_send_thread() especially on zero copy. Now with the new interface, we require the hook to do all the work for preparing the IOVs to send. After it's completed, the IOVs should be ready to be