Skip to content

qcow2: Respect new_block in alloc_refcount_block()

Max Reitz qemu-devel 1 version Applied

Status from this message: Applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2qcow2: Respect new_block in alloc_refcount_block()block/qcow2-refcount.c+14 -20 replies
2/2iotests: Add tests for refcount table growthtests/qemu-iotests/121 tests/qemu-iotests/121.out tests/qemu-iotests/group+126 -00 replies

Reviews trailers per patch

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

PatchEric BlakeKevin Wolf
SeriesR-b R-b
1/2
2/2

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/2] qcow2: Respect new_block in alloc_refcount_block()

Under certain circumstances, making the refcount table grow can result in leaking clusters. The first patch fixes at least some of those circumstances (maybe there are more, but these are the ones I am aware of), and the second patch adds a test case.

Max Reitz (2):
qcow2: Respect new_block in alloc_refcount_block()
iotests: Add tests for refcount table growth

 block/qcow2-refcount.c     |  16 ++++++-
 tests/qemu-iotests/121     | 102 +++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/121.out |  23 ++++++++++
 tests/qemu-iotests/group   |   1 +
 4 files changed, 140 insertions(+), 2 deletions(-)
 create mode 100755 tests/qemu-iotests/121
 create mode 100644 tests/qemu-iotests/121.out
Signature · 1 line
2.1.0