Skip to content

qcow2: Cleanups and refactoring

Kevin Wolf qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8qcow2: Round QCowL2Meta.offset down to cluster boundaryblock/qcow2-cluster.c block/qcow2.h+24 -20 replies
2/8qcow2: Introduce Qcow2COWRegionblock/qcow2-cluster.c block/qcow2.h+76 -360 replies
3/8qcow2: Allocate l2meta dynamicallyblock/qcow2.c+15 -110 replies
4/8qcow2: Drop l2meta.cluster_offsetblock/qcow2-cluster.c block/qcow2.c block/qcow2.h+14 -150 replies
5/8qcow2: Allocate l2meta only for cluster allocationsblock/qcow2-cluster.c block/qcow2.c block/qcow2.h+31 -310 replies
6/8qcow2: Enable dirty flag in qcow2_alloc_cluster_link_l2block/qcow2-cluster.c block/qcow2.c block/qcow2.h+7 -70 replies
7/8qcow2: Execute run_dependent_requests() without lockblock/qcow2.c+16 -200 replies
8/8qcow2: Factor out handle_dependencies()block/qcow2-cluster.c+42 -280 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] qcow2: Cleanups and refactoring

This is the first part of the Delayed COW series, which consists of some simple changes to qcow2 to bring the code into a shape that is easier to extend. I'm trying to get this in first so that the series with the really scary stuff becomes a bit shorter.

Kevin Wolf (8):
qcow2: Round QCowL2Meta.offset down to cluster boundary
qcow2: Introduce Qcow2COWRegion
qcow2: Allocate l2meta dynamically
qcow2: Drop l2meta.cluster_offset
qcow2: Allocate l2meta only for cluster allocations
qcow2: Enable dirty flag in qcow2_alloc_cluster_link_l2
qcow2: Execute run_dependent_requests() without lock
qcow2: Factor out handle_dependencies()

 block/qcow2-cluster.c |  191 +++++++++++++++++++++++++++++--------------------
 block/qcow2.c         |   85 +++++++++++-----------
 block/qcow2.h         |   49 ++++++++++++-
 3 files changed, 200 insertions(+), 125 deletions(-)
Signature · 1 line
1.7.6.5