* Juan Quintela (quint...@redhat.com) wrote:
> Current code asumes that all pages are whole. That is not true for
> example for compression already. Fix it for creating a new field
> ->sent_bytes that includes it.
>
> All ram_counters are used only from the migration thread, so we have
> two opt
Gilbert ; Juan Quintela
> ; Eduardo Habkost ; Peter
> Xu ; Leonardo Bras
> Subject: [PATCH v7 05/13] multifd: Count the number of bytes sent correctly
>
> Current code asumes that all pages are whole. That is not true for example
> for compression already. Fix it for creating a
Current code asumes that all pages are whole. That is not true for
example for compression already. Fix it for creating a new field
->sent_bytes that includes it.
All ram_counters are used only from the migration thread, so we have
two options:
- put a mutex and fill everything when we sent it (