aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorFelipe Franciosi <felipe@nutanix.com>2017-05-24 17:10:01 +0100
committerJuan Quintela <quintela@redhat.com>2017-05-31 09:39:20 +0200
commitd693c6f10ff46c661b055288abae11deb6181a61 (patch)
tree212bcc60192db98f33cc71d3c1eb4abbe040dc74 /qapi
parent9884db2814fbf1eb2ed99e02dadf58534d3ecc25 (diff)
migration: set dirty_pages_rate before autoconverge logic
Currently, a "period" in the RAM migration logic is at least a second long and accounts for what happened since the last period (or the beginning of the migration). The dirty_pages_rate counter is calculated at the end this logic. If the auto convergence capability is enabled from the start of the migration, it won't be able to use this counter the first time around. This calculates dirty_pages_rate as soon as a period is deemed over, which allows for it to be used immediately. Signed-off-by: Felipe Franciosi <felipe@nutanix.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions