diff options
author | Denis V. Lunev <den@openvz.org> | 2016-07-14 16:33:29 +0300 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2016-07-19 17:02:49 -0400 |
commit | 4b5004d9fc5b7d8e4447dc81c2f26477c2d590f7 (patch) | |
tree | 6186bb4e9cdaec5f85a732f135368c15ddcaf6b3 /user-exec.c | |
parent | c7c2769c0e5769eaad9d968fe2161505b657e02a (diff) |
mirror: improve performance of mirroring of empty disk
We should not take into account zero blocks for delay calculations.
They are not read and thus IO throttling is not required. In the
other case VM migration with 16 Tb QCOW2 disk with 4 Gb of data takes
days.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1468503209-19498-9-git-send-email-den@openvz.org
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Jeff Cody <jcody@redhat.com>
CC: Eric Blake <eblake@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'user-exec.c')
0 files changed, 0 insertions, 0 deletions