diff options
| author | Paolo Bonzini | 2013-01-22 09:03:15 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2013-01-25 18:18:35 +0100 |
| commit | 884fea4e87fbc6daf4e6df618bb3cadc188dcc6b (patch) | |
| tree | d18e2177c7f35c5be87c599a6e383993be654146 /include | |
| parent | mirror: support more than one in-flight AIO operation (diff) | |
| download | qemu-884fea4e87fbc6daf4e6df618bb3cadc188dcc6b.tar.gz qemu-884fea4e87fbc6daf4e6df618bb3cadc188dcc6b.tar.xz qemu-884fea4e87fbc6daf4e6df618bb3cadc188dcc6b.zip | |
mirror: support arbitrarily-sized iterations
Yet another optimization is to extend the mirroring iteration to include more
adjacent dirty blocks. This limits the number of I/O operations and makes
mirroring efficient even with a small granularity. Most of the infrastructure
is already in place; we only need to put a loop around the computation of
the origin and sector count of the iteration.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
