diff options
| author | Vladimir Sementsov-Ogievskiy | 2020-02-05 12:20:40 +0100 |
|---|---|---|
| committer | John Snow | 2020-03-18 19:03:46 +0100 |
| commit | dacbb6eb8acbd40d97c1c01cde5ccc55e56e7785 (patch) | |
| tree | 87b6effcf07af89a6d3b0c1bbc13f799c1efdc82 /include | |
| parent | nbd/server: introduce NBDExtentArray (diff) | |
| download | qemu-dacbb6eb8acbd40d97c1c01cde5ccc55e56e7785.tar.gz qemu-dacbb6eb8acbd40d97c1c01cde5ccc55e56e7785.tar.xz qemu-dacbb6eb8acbd40d97c1c01cde5ccc55e56e7785.zip | |
nbd/server: use bdrv_dirty_bitmap_next_dirty_area
Use bdrv_dirty_bitmap_next_dirty_area for bitmap_to_extents. Since
bdrv_dirty_bitmap_next_dirty_area is very accurate in its interface,
we'll never exceed requested region with last chunk. So, we don't need
dont_fragment, and bitmap_to_extents() interface becomes clean enough
to not require any comment.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20200205112041.6003-10-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
