qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] transaction support for bitmap merge
@ 2018-09-14 15:15 Vladimir Sementsov-Ogievskiy
  2018-09-14 15:15 ` [Qemu-devel] [PATCH v3 1/5] dirty-bitmap: switch assert-fails to errors in bdrv_merge_dirty_bitmap Vladimir Sementsov-Ogievskiy
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2018-09-14 15:15 UTC (permalink / raw)
  To: qemu-devel, qemu-block
  Cc: eblake, armbru, mreitz, kwolf, jsnow, famz, vsementsov, den

This is a last brick, necessary to play with nbd bitmap export in
conjunction with image fleecing.

v3:
01: fix type in commit message, add John's r-b
02: splitted refactoring
03: improve commit message, split some refactoring to 02
04: add John's r-b
05: drop extra state variable, make it local instead. John's r-b.


v2: don't compare with v1, it is changed a lot, to do the whole thing
    in .prepare instead of .commit. It is needed to be compatible with
    backup block job transaction actions [John]

Vladimir Sementsov-Ogievskiy (5):
  dirty-bitmap: switch assert-fails to errors in bdrv_merge_dirty_bitmap
  dirty-bitmap: rename bdrv_undo_clear_dirty_bitmap
  dirty-bitmap: make it possible to restore bitmap after merge
  blockdev: rename block-dirty-bitmap-clear transaction handlers
  qapi: add transaction support for x-block-dirty-bitmap-merge

 qapi/transaction.json        |  2 ++
 include/block/block_int.h    |  2 +-
 include/block/dirty-bitmap.h |  2 +-
 include/qemu/hbitmap.h       | 25 +++++++++------
 block/dirty-bitmap.c         | 36 +++++++++++++++++-----
 blockdev.c                   | 59 +++++++++++++++++++++++++-----------
 util/hbitmap.c               | 11 +++++--
 7 files changed, 99 insertions(+), 38 deletions(-)

-- 
2.18.0

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

end of thread, other threads:[~2018-09-14 17:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-14 15:15 [Qemu-devel] [PATCH v3 0/4] transaction support for bitmap merge Vladimir Sementsov-Ogievskiy
2018-09-14 15:15 ` [Qemu-devel] [PATCH v3 1/5] dirty-bitmap: switch assert-fails to errors in bdrv_merge_dirty_bitmap Vladimir Sementsov-Ogievskiy
2018-09-14 15:15 ` [Qemu-devel] [PATCH v3 2/5] dirty-bitmap: rename bdrv_undo_clear_dirty_bitmap Vladimir Sementsov-Ogievskiy
2018-09-14 15:15 ` [Qemu-devel] [PATCH v3 3/5] dirty-bitmap: make it possible to restore bitmap after merge Vladimir Sementsov-Ogievskiy
2018-09-14 15:15 ` [Qemu-devel] [PATCH v3 4/5] blockdev: rename block-dirty-bitmap-clear transaction handlers Vladimir Sementsov-Ogievskiy
2018-09-14 15:15 ` [Qemu-devel] [PATCH v3 5/5] qapi: add transaction support for x-block-dirty-bitmap-merge Vladimir Sementsov-Ogievskiy
2018-09-14 17:15 ` [Qemu-devel] [PATCH v3 0/4] transaction support for bitmap merge John Snow
2018-09-14 17:36 ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).