backup-top filter driver for backup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v11 Latest14 patches 7 repliesIn review
- v1014 patches 18 repliesSuperseded
- v913 patches 25 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v8 | 7 patches | 22 replies | Superseded | |
| v7 | 5 patches | 3 replies | Superseded | |
| v6 | 5 patches | 5 replies | Superseded | |
| v5 | 11 patches | 39 replies | Superseded | |
| v4 | 11 patches | 8 replies | Superseded |
Patches in v11 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | block/backup: fix backup_cow_with_offload for last clusterblock/ | +1 | 0 replies | |
| 2/14 | block/backup: split shareable copying part from backup_do_cowblock/ | +32 | 0 replies | |
| 3/14 | block/backup: improve comment about image fleecingblock/ | +12 | 0 replies | |
| 4/14 | block/backup: introduce BlockCopyStateblock/ block/ | +231 | 6 replies | |
| 5/14 | block/backup: fix block-comment styleblock/ | +21 | 0 replies | |
| 6/14 | block: move block_copy from block/backup.c to separate fileblock/ block/ block/ +2 more | +404 | 0 replies | |
| 7/14 | block: teach bdrv_debug_breakpoint skip filters with backingblock.c | +26 | 0 replies | |
| 8/14 | iotests: prepare 124 and 257 bitmap querying for backup-top filtertests/ tests/ tests/ +1 more | +219 | 0 replies | |
| 9/14 | iotests: 257: drop unused Drive.device fieldtests/ | +15 | 0 replies | |
| 10/14 | iotests: 257: drop device_addtests/ tests/ | +0 | 0 replies | |
| 11/14 | block/io: refactor wait_serialising_requestsblock/ | +16 | 0 replies | |
| 12/14 | block: add lock/unlock range functionsblock/ include/ | +47 | 0 replies | |
| 13/14 | block: introduce backup-top filter driverblock/ block/ block/ | +283 | 0 replies | |
| 14/14 | block/backup: use backup-top instead of write notifiersblock/ block/ block/ +8 more | +237 | 0 replies |
Reviews trailers per patch
13 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Max Reitz |
|---|---|
| 1/14 | R-b |
| 2/14 | R-b |
| 3/14 | R-b |
| 4/14 | |
| 5/14 | R-b |
| 6/14 | R-b |
| 7/14 | R-b |
| 8/14 | R-b |
| 9/14 | R-b |
| 10/14 | R-b |
| 11/14 | R-b |
| 12/14 | R-b |
| 13/14 | R-b |
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v11 00/14] backup-top filter driver for backup
Hi all!
These series introduce backup-top driver. It's a filter-node, which do copy-before-write operation. Mirror uses filter-node for handling guest writes, let's move to filter-node (from write-notifiers) for backup too.
v11: based on Kevin's block branch
02,03: Add Max's r-b
04: - improve comments
- rebase on dropped backup_drain
- s/job/bcs/ in trace events
05: one hunk dropped due to rebasing
on dropped backup_drain, still,
keep Max's r-b
06: rebased on 04 changes, keep Max's r-b
08,13,14: add Max's r-b
Based-on: git://repo.or.cz/qemu/kevin.git block
Vladimir Sementsov-Ogievskiy (14):
block/backup: fix backup_cow_with_offload for last cluster block/backup: split shareable copying part from backup_do_cow block/backup: improve comment about image fleecing block/backup: introduce BlockCopyState
block/backup: fix block-comment style
block: move block_copy from block/backup.c to separate file
block: teach bdrv_debug_breakpoint skip filters with backing
iotests: prepare 124 and 257 bitmap querying for backup-top filter
iotests: 257: drop unused Drive.device field
iotests: 257: drop device_add
block/io: refactor wait_serialising_requests
block: add lock/unlock range functions
block: introduce backup-top filter driver
block/backup: use backup-top instead of write notifiers
qapi/block-core.json | 8 +- block/backup-top.h | 37 ++ include/block/block-copy.h | 84 ++++ include/block/block_int.h | 5 + block.c | 34 +- block/backup-top.c | 240 ++++++++++++ block/backup.c | 440 ++++----------------- block/block-copy.c | 337 ++++++++++++++++ block/io.c | 68 +++- block/replication.c | 2 +- blockdev.c | 1 + block/Makefile.objs | 3 + block/trace-events | 14 +- tests/qemu-iotests/056 | 8 +- tests/qemu-iotests/124 | 83 ++-- tests/qemu-iotests/257 | 91 ++--- tests/qemu-iotests/257.out | 714 ++++++++++++++-------------------- tests/qemu-iotests/iotests.py | 27 ++ 18 files changed, 1278 insertions(+), 918 deletions(-) create mode 100644 block/backup-top.h create mode 100644 include/block/block-copy.h create mode 100644 block/backup-top.c create mode 100644 block/block-copy.c
Signature · 1 line
2.18.0