Skip to content

RFC qcow2: Save requests during cluster allocation

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qcow2: Factor out count_cow_clustersblock/qcow2-cluster.c+36 -190 replies
2/3qcow2: Add qcow2_alloc_clusters_at()block/qcow2-refcount.c block/qcow2.h+30 -00 replies
3/3qcow2: Reduce number of I/O requestsblock/qcow2-cluster.c block/qcow2.h trace-events+168 -770 replies

Reviews trailers per patch

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

PatchStefan Hajnoczi
SeriesR-b
1/3
2/3
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] [RFC PATCH 0/3] qcow2: Save requests during cluster allocation

When a write request spans both allocated and unallocated clusters, qcow2 splits the request in two parts. This is not necessary if we have sequential
writes: If the unallocated area can be allocated such that in the image file it is adjacent to the already allocated part, a single request is enough.

Kevin Wolf (3):
qcow2: Factor out count_cow_clusters
qcow2: Add qcow2_alloc_clusters_at()
qcow2: Reduce number of I/O requests

 block/qcow2-cluster.c  |  274 +++++++++++++++++++++++++++++++++---------------
 block/qcow2-refcount.c |   28 +++++
 block/qcow2.h          |    3 +
 trace-events           |    1 +
 4 files changed, 222 insertions(+), 84 deletions(-)
Signature · 1 line
1.7.6.5