Paolo Bonzini bdffb31d8e mirror: do not flush every time the disks are synced
This puts a huge strain on the disks when there are many concurrent
migrations.  With this patch we only flush twice: just before issuing
the event, and just before pivoting to the destination.  If management
will complete the job close to the BLOCK_JOB_READY event, the cost of
the second flush should be small anyway.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20161109162008.27287-2-pbonzini@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
2016-11-14 22:49:26 -05:00
..
2016-11-14 22:47:34 -05:00
2016-11-11 15:54:55 +01:00
2016-11-11 15:54:55 +01:00
2016-11-11 15:56:22 +01:00
2016-11-14 22:47:34 -05:00
2016-11-14 22:47:34 -05:00