diff options
| author | Fam Zheng <famz@redhat.com> | 2016-03-08 12:44:52 +0800 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2016-03-14 17:35:05 +0100 |
| commit | b2f56462d51a49c28d2a7b214b3ae8e8d3329f1f (patch) | |
| tree | c64b4a83442932b3cfff060cfab8a8cbb297949d /include/qemu/typedefs.h | |
| parent | b8f45cdf7827e39f9a1e6cc446f5972cc6144237 (diff) | |
| download | focaccia-qemu-b2f56462d51a49c28d2a7b214b3ae8e8d3329f1f.tar.gz focaccia-qemu-b2f56462d51a49c28d2a7b214b3ae8e8d3329f1f.zip | |
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 'include/qemu/typedefs.h')
0 files changed, 0 insertions, 0 deletions