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(-) -- 1.7.6.5