qcow2: Respect new_block in alloc_refcount_block()
Status from this message: Applied to my block tree:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qcow2: Respect new_block in alloc_refcount_block()block/ | +14 | 0 replies | |
| 2/2 | iotests: Add tests for refcount table growthtests/ tests/ tests/ | +126 | 0 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.
| Patch | Eric Blake | Kevin Wolf |
|---|---|---|
| Series | R-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.
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