diff options
author | Fam Zheng <famz@redhat.com> | 2015-07-09 11:47:58 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-22 11:14:21 +0100 |
commit | 999006975840f8cdf2038a587d852a6cbfe58e3b (patch) | |
tree | 1a13ecd7f3f16e0e0e9dd68f182e72029d975b3b /qemu-timer.c | |
parent | 774ee4772b6838b78741ea52d4bf26b8922244c5 (diff) |
mirror: Speed up bitmap initial scanning
Limiting to sectors_per_chunk for each bdrv_is_allocated_above is slow,
because the underlying protocol driver would issue much more queries
than necessary. We should coalesce the query.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: <1436413678-7114-4-git-send-email-famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions