[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v3 0/3] blockjob: correct backup cluster size for ba
[Qemu-block] [PATCH v3 0/3] blockjob: correct backup cluster size for backups
Tue, 23 Feb 2016 19:16:58 -0500
Backups sometimes need a non-64KiB transfer cluster size.
See patch #2 for the detailed justificaton.
02: Added failure mode for bdrv_get_info, including critical failure for when
we don't have a backing file but couldn't retrieve the cluster_size info.
01: Removed "sectors_per_cluster" as a cached property of the Backup Block Job,
In favor of recomputing it with a small function where needed.
(I like v1 more. Thoughts?)
02: Expand correction to all backup modes instead of just incremental.
Added credit: Thanks to Fam Z for noticing this problem!
03: Minor phrasing change in a comment.
For convenience, this branch is available at:
https://github.com/jnsnow/qemu.git branch incremental-granularity-fix
This version is tagged incremental-granularity-fix-v3:
John Snow (3):
block/backup: make backup cluster size configurable
block/backup: avoid copying less than full target clusters
iotests/124: Add cluster_size mismatch test
block/backup.c | 85 ++++++++++++++++++++++++++++++----------------
tests/qemu-iotests/124 | 58 ++++++++++++++++++++++++++++---
tests/qemu-iotests/124.out | 4 +--
3 files changed, 110 insertions(+), 37 deletions(-)
[Qemu-block] [PATCH v3 1/3] block/backup: make backup cluster size configurable, John Snow, 2016/02/23
[Qemu-block] [PATCH v3 3/3] iotests/124: Add cluster_size mismatch test, John Snow, 2016/02/23
- [Qemu-block] [PATCH v3 0/3] blockjob: correct backup cluster size for backups,
John Snow <=