Hi all! Here is a new option for backup, that brings two things into push-backup-with-fleecing scheme:
- discard copied region in temporary image to save disk space - avoid extra copy-before-write operation in the region that is already copied This is based on "[PATCH v5 00/45] Transactional block-graph modifying API" Based-on: <20220330212902.590099-1-vsement...@openvz.org> Vladimir Sementsov-Ogievskiy (3): block/copy-before-write: create block_copy bitmap in filter node qapi: blockdev-backup: add discard-source parameter iotests: add backup-discard-source block/backup.c | 5 +- block/block-copy.c | 13 +- block/copy-before-write.c | 4 +- block/replication.c | 4 +- blockdev.c | 2 +- include/block/block-copy.h | 3 +- include/block/block_int-global-state.h | 2 +- qapi/block-core.json | 4 + tests/qemu-iotests/257.out | 112 ++++++------- .../qemu-iotests/tests/backup-discard-source | 154 ++++++++++++++++++ .../tests/backup-discard-source.out | 5 + 11 files changed, 240 insertions(+), 68 deletions(-) create mode 100755 tests/qemu-iotests/tests/backup-discard-source create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out -- 2.35.1