Home
last modified time | relevance | path

Searched hist:f27a2742 (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Dmirror.cf27a2742 Tue Apr 19 22:59:48 GMT 2016 Max Reitz <mreitz@redhat.com> block/mirror: Refresh stale bitmap iterator cache

If the drive's dirty bitmap is dirtied while the mirror operation is
running, the cache of the iterator used by the mirror code may become
stale and not contain all dirty bits.

This only becomes an issue if we are looking for contiguously dirty
chunks on the drive. In that case, we can easily detect the discrepancy
and just refresh the iterator if one occurs.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>