summaryrefslogtreecommitdiffstats
path: root/blockdev.c
diff options
context:
space:
mode:
authorFam Zheng2015-05-13 05:11:13 +0200
committerJeff Cody2015-07-15 03:50:13 +0200
commit4c0cbd6fec7db182a6deb52d5a8a8e7b0c5cbe64 (patch)
tree3de841e56908fdc5aa3481ad2fc20d62db85d769 /blockdev.c
parentMerge remote-tracking branch 'remotes/cohuck/tags/s390x-20150714' into staging (diff)
downloadqemu-4c0cbd6fec7db182a6deb52d5a8a8e7b0c5cbe64.tar.gz
qemu-4c0cbd6fec7db182a6deb52d5a8a8e7b0c5cbe64.tar.xz
qemu-4c0cbd6fec7db182a6deb52d5a8a8e7b0c5cbe64.zip
block/mirror: Sleep periodically during bitmap scanning
Before, we only yield after initializing dirty bitmap, where the QMP command would return. That may take very long, and guest IO will be blocked. Add sleep points like the later mirror iterations. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Wen Congyang <wency@cn.fujitsu.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1431486673-19280-1-git-send-email-famz@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions