On Tue, Jul 12, 2022 at 7:42 PM Peter Xu <pet...@redhat.com> wrote: > > On Mon, Jul 11, 2022 at 06:11:13PM -0300, Leonardo Bras wrote: > > Some errors, like the lack of Scatter-Gather support by the network > > interface(NETIF_F_SG) may cause sendmsg(...,MSG_ZEROCOPY) to fail on using > > zero-copy, which causes it to fall back to the default copying mechanism. > > > > After each full dirty-bitmap scan there should be a zero-copy flush > > happening, which checks for errors each of the previous calls to > > sendmsg(...,MSG_ZEROCOPY). If all of them failed to use zero-copy, then > > increment dirty_sync_missed_zero_copy migration stat to let the user know > > about it. > > > > Signed-off-by: Leonardo Bras <leob...@redhat.com> > > Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> > > Acked-by: Peter Xu <pet...@redhat.com>
Thanks Peter! > -- > Peter Xu >