block/dirty-bitmap: Add bdrv_dirty_iter_next_area
commit72d10a94213a954ad569095cb4491f2ae0853c40
authorMax Reitz <mreitz@redhat.com>
Wed, 13 Jun 2018 18:18:18 +0000 (13 20:18 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 18 Jun 2018 15:04:57 +0000 (18 17:04 +0200)
treed465f9098cde861cc3c70990d0d789c8ed8950dc
parent269576848ec3d57d2d958cf5ac69b08c44adf816
block/dirty-bitmap: Add bdrv_dirty_iter_next_area

This new function allows to look for a consecutively dirty area in a
dirty bitmap.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180613181823.13618-10-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/dirty-bitmap.c
include/block/dirty-bitmap.h