Skip to content

qcow2: count_contiguous_clusters and compression

Max Reitz qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- added patch 2 (following Kevin's proposal)
- patch 1 remains unmodified

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2qcow2: count_contiguous_clusters and compressionblock/qcow2-cluster.c+5 -20 replies
2/2qcow2: COMPRESSED on count_contiguous_clustersblock/qcow2-cluster.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] qcow2: count_contiguous_clusters and compression

Compressed clusters can never be contiguous and count_contiguous_clusters will not even work correctly for them. Therefore, those cluster should always be treated as non-contiguous.

This series makes count_contiguous_clusters always stop at compressed clusters and removes the corresponding flag from its function calls.

v2:
- added patch 2 (following Kevin's proposal)
- patch 1 remains unmodified

Max Reitz (2):
qcow2: count_contiguous_clusters and compression
qcow2: COMPRESSED on count_contiguous_clusters

 block/qcow2-cluster.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.3.1