Re: [PATCH v3 15/23] multifd: Use a single writev on the send side

2021-11-29 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > Until now, we wrote the packet header with write(), and the rest of the > pages with writev(). Just increase the size of the iovec and do a > single writev(). > > Signed-off-by: Juan Quintela Reviewed-by: Dr. David Alan Gilbert > --- > migration

[PATCH v3 15/23] multifd: Use a single writev on the send side

2021-11-24 Thread Juan Quintela
Until now, we wrote the packet header with write(), and the rest of the pages with writev(). Just increase the size of the iovec and do a single writev(). Signed-off-by: Juan Quintela --- migration/multifd.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git