mbox series

[0/2] bitmaps: merge bitmaps from different nodes

Message ID 20190516122725.132334-1-vsementsov@virtuozzo.com
Headers show
Series bitmaps: merge bitmaps from different nodes | expand

Message

Vladimir Sementsov-Ogievskiy May 16, 2019, 12:27 p.m. UTC
Hi all!

We need to copy bitmaps to new top node on external snapshot, to
not break incremental backup chain.

The only thing to do is to allow block-dirty-bitmap-merge to work
with different nodes, here it is.

Vladimir Sementsov-Ogievskiy (2):
  qapi: support external bitmaps in block-dirty-bitmap-merge
  iotests: test external snapshot with bitmap copying

 qapi/block-core.json       | 13 +++++++---
 block/dirty-bitmap.c       |  9 ++++---
 blockdev.c                 | 46 +++++++++++++++++++++++----------
 tests/qemu-iotests/254     | 52 +++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/254.out | 53 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 154 insertions(+), 20 deletions(-)
 create mode 100755 tests/qemu-iotests/254
 create mode 100644 tests/qemu-iotests/254.out