qemu-img check/qcow2: Allow fixing refcounts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qemu-img check -r for repairing imagesblock.c block.h block/ +6 more | +55 | 0 replies | |
| 2/3 | qemu-img check: Print fixed clusters and recheckblock.h block/ qemu-img.c | +14 | 0 replies | |
| 3/3 | qcow2: Support for fixing refcount inconsistenciesblock/ block/ block/ | +28 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH block-next 0/3] qemu-img check/qcow2: Allow fixing refcounts
A prerequisite for a "QED mode" in qcow2, which doesn't update the refcount table except on clean shutdown, is that refcounts can be repaired when the image is opened the next time after a crash.
This series adds a qemu-img check option that doesn't only check, but also tries to fix the errors that it found.
Kevin Wolf (3):
qemu-img check -r for repairing images qemu-img check: Print fixed clusters and recheck
qcow2: Support for fixing refcount inconsistencies
block.c | 4 ++-- block.h | 9 ++++++++- block/qcow2-refcount.c | 27 +++++++++++++++++++++++++-- block/qcow2.c | 5 +++-- block/qcow2.h | 3 ++- block/qed-check.c | 2 ++ block/qed.c | 5 +++-- block/vdi.c | 7 ++++++- block_int.h | 3 ++- qemu-img-cmds.hx | 4 ++-- qemu-img.c | 35 ++++++++++++++++++++++++++++++++--- qemu-img.texi | 7 ++++++- 12 files changed, 93 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.6.5