backup: discard-source parameter
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block/copy-before-write: create block_copy bitmap in filter nodeblock/ block/ include/ +1 more | +60 | 0 replies | |
| 2/3 | qapi: blockdev-backup: add discard-source parameterblock/ block/ block/ +5 more | +21 | 2 replies | |
| 3/3 | iotests: add backup-discard-sourcetests/ tests/ | +159 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] backup: discard-source parameter
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: <[email protected]>
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
Signature · 1 line
2.35.1