diff options
author | Denis V. Lunev <den@openvz.org> | 2016-07-14 16:33:27 +0300 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2016-07-19 16:54:46 -0400 |
commit | b7d5062c9cf53f21a555843775392dc03364bbff (patch) | |
tree | be70af8a1a9e25196243ecfc77003fff4e2ca5f4 /hw/unicore32 | |
parent | 2f0342efdbb0a3c5b5a6a4f4831cbe90c445510b (diff) |
mirror: optimize dirty bitmap filling in mirror_run a bit
There is no need to scan allocation tables if we have mark_all_dirty flag
set. Just mark it all dirty.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy<vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1468503209-19498-7-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>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'hw/unicore32')
0 files changed, 0 insertions, 0 deletions