Felipe Franciosi <fel...@nutanix.com> wrote: > The bytes_xfer_now/prev counters are only used by the auto convergence > logic. However, they are used alongside the dirty_pages_rate counter, > which is calculated (and required) outside of this logic. The problem > with this approach is that if the auto convergence capability is changed > while a migration is ongoing, the relationship of the counters will be > broken. > > This moves the management of bytes_xfer_now/prev counters outside of the > auto convergence logic to address this issue. > > Signed-off-by: Felipe Franciosi <fel...@nutanix.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>