aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-03-08 12:44:52 +0800
committerMax Reitz <mreitz@redhat.com>2016-03-14 17:35:05 +0100
commitb2f56462d51a49c28d2a7b214b3ae8e8d3329f1f (patch)
treec64b4a83442932b3cfff060cfab8a8cbb297949d /blockdev.c
parentb8f45cdf7827e39f9a1e6cc446f5972cc6144237 (diff)
backup: Use Bitmap to replace "s->bitmap"
"s->bitmap" tracks done sectors, we only check bit states without using any iterator which HBitmap is good for. Switch to "Bitmap" which is simpler and more memory efficient. Meanwhile, rename it to done_bitmap, to reflect the intention. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1457412306-18940-2-git-send-email-famz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions