All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 2.6 0/3] Bitmap clean-up patches for 2.6
@ 2015-11-20  9:59 Fam Zheng
  2015-11-20  9:59 ` [Qemu-devel] [PATCH for 2.6 1/3] backup: Use Bitmap to replace "s->bitmap" Fam Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Fam Zheng @ 2015-11-20  9:59 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, vsementsov, qemu-block, Jeff Cody, mreitz, pbonzini, jsnow

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 (3):
  backup: Use Bitmap to replace "s->bitmap"
  block: Hide HBitmap in block dirty bitmap interface
  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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-11-25  2:49 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20  9:59 [Qemu-devel] [PATCH for 2.6 0/3] Bitmap clean-up patches for 2.6 Fam Zheng
2015-11-20  9:59 ` [Qemu-devel] [PATCH for 2.6 1/3] backup: Use Bitmap to replace "s->bitmap" Fam Zheng
2015-11-20 15:53   ` Vladimir Sementsov-Ogievskiy
2015-11-23  6:42     ` Fam Zheng
2015-11-23  9:01   ` Wen Congyang
2015-11-23  9:19     ` Fam Zheng
2015-11-23  9:24       ` Wen Congyang
2015-11-23  9:55         ` Fam Zheng
2015-11-23  9:58           ` Wen Congyang
2015-11-23 14:49           ` Paolo Bonzini
2015-11-23 21:00   ` John Snow
2015-11-20  9:59 ` [Qemu-devel] [PATCH for 2.6 2/3] block: Hide HBitmap in block dirty bitmap interface Fam Zheng
2015-11-20 16:08   ` Vladimir Sementsov-Ogievskiy
2015-11-23  6:44     ` Fam Zheng
2015-11-23 21:34   ` John Snow
2015-11-24  2:28     ` Fam Zheng
2015-11-24  9:12       ` Vladimir Sementsov-Ogievskiy
2015-11-25  2:49         ` Fam Zheng
2015-11-24 19:19       ` John Snow
2015-11-20  9:59 ` [Qemu-devel] [PATCH for 2.6 3/3] hbitmap: Drop "granularity" Fam Zheng
2015-11-20 16:22   ` Vladimir Sementsov-Ogievskiy
2015-11-23  6:46     ` Fam Zheng
2015-11-20 16:42 ` [Qemu-devel] [PATCH for 2.6 0/3] Bitmap clean-up patches for 2.6 Vladimir Sementsov-Ogievskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.