[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v3 0/4] Bitmap clean-up patches for 2.6
From: |
Fam Zheng |
Subject: |
[Qemu-block] [PATCH v3 0/4] Bitmap clean-up patches for 2.6 |
Date: |
Wed, 25 Nov 2015 12:19:16 +0800 |
v3: Split patch 2. [Vladimir]
v2: bitmap_set -> set_bit. [Congyang, Paolo, John]
Add John Snow's rev-by with that change.
This makes a cleaner base for more dirty bitmap work. "granularity" appearing
with different representations have always been mind twisting, remove it from
HBitmap to make the interface and implementation simpler. Upon this, it is
a bit easier to add persistent dirty bitmap functionalities.
Block dirty bitmap is not unit-tested, so the removal of HBitmap test code
looks like a loss, but the overall test coverage is barely affected as we also
have various mirror, commit and backup iotest cases, and they do catch various
bugs when I wrote the patches.
Please review!
Fam
Fam Zheng (4):
backup: Use Bitmap to replace "s->bitmap"
block: Hide HBitmap in block dirty bitmap interface
block: Manage granularity in BdrvDirtyBitmap
hbitmap: Drop "granularity"
block.c | 79 ++++++++++++++-----
block/backup.c | 25 +++---
block/mirror.c | 14 ++--
include/block/block.h | 9 ++-
include/qemu/hbitmap.h | 20 +----
tests/test-hbitmap.c | 206 ++++++++-----------------------------------------
util/hbitmap.c | 64 +++------------
7 files changed, 135 insertions(+), 282 deletions(-)
--
2.4.3
- [Qemu-block] [PATCH v3 0/4] Bitmap clean-up patches for 2.6,
Fam Zheng <=
- [Qemu-block] [PATCH v3 1/4] backup: Use Bitmap to replace "s->bitmap", Fam Zheng, 2015/11/24
- [Qemu-block] [PATCH v3 2/4] block: Hide HBitmap in block dirty bitmap interface, Fam Zheng, 2015/11/24
- [Qemu-block] [PATCH v3 3/4] block: Manage granularity in BdrvDirtyBitmap, Fam Zheng, 2015/11/24
- [Qemu-block] [PATCH v3 4/4] hbitmap: Drop "granularity", Fam Zheng, 2015/11/24
- Re: [Qemu-block] [PATCH v3 0/4] Bitmap clean-up patches for 2.6, Vladimir Sementsov-Ogievskiy, 2015/11/25