Skip to content

qcow2: Fix cluster leaks on write error

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qemu-iotests: Update 026.out.nocache reference outputtests/qemu-iotests/026.out.nocache+3 -30 replies
2/3qcow2: Free allocated clusters on write errorblock/qcow2-cluster.c block/qcow2.c block/qcow2.h+14 -02 replies
3/3qemu-iotests: Test qcow2 not leaking clusters on write errortests/qemu-iotests/026 tests/qemu-iotests/026.out tests/qemu-iotests/026.out.nocache+33 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric BlakeMax Reitz
SeriesR-b
1/3
2/3R-b T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] qcow2: Fix cluster leaks on write error

Kevin Wolf (3):
qemu-iotests: Update 026.out.nocache reference output
qcow2: Free allocated clusters on write error
qemu-iotests: Test qcow2 not leaking clusters on write error

 block/qcow2.h                      |  1 +
 block/qcow2-cluster.c              | 11 +++++++++++
 block/qcow2.c                      |  2 ++
 tests/qemu-iotests/026             | 17 +++++++++++++++++
 tests/qemu-iotests/026.out         |  8 ++++++++
 tests/qemu-iotests/026.out.nocache | 14 +++++++++++---
 6 files changed, 50 insertions(+), 3 deletions(-)
Signature · 1 line
2.13.6