aboutsummaryrefslogtreecommitdiff
path: root/migration/qjson.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-07-27 22:42:28 +0300
committerEric Blake <eblake@redhat.com>2020-07-27 15:39:59 -0500
commitf3045b9a828e99221083a4ad9905b9d7cdd4df2f (patch)
tree31ec250d69c1684416c94c49e75834c900cd0b4b /migration/qjson.h
parent8949121644b756b58d6546d86c9a49f18a0e5153 (diff)
migration/block-dirty-bitmap: simplify dirty_bitmap_load_complete
bdrv_enable_dirty_bitmap_locked() call does nothing, as if we are in postcopy, bitmap successor must be enabled, and reclaim operation will enable the bitmap. So, actually we need just call _reclaim_ in both if branches, and making differences only to add an assertion seems not really good. The logic becomes simple: on load complete we do reclaim and that's all. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Message-Id: <20200727194236.19551-14-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'migration/qjson.h')
0 files changed, 0 insertions, 0 deletions