qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/3] qcow2: Save requests during cluster allocation
@ 2012-03-02 18:48 Kevin Wolf
  2012-03-02 18:48 ` [Qemu-devel] [PATCH 1/3] qcow2: Factor out count_cow_clusters Kevin Wolf
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kevin Wolf @ 2012-03-02 18:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha

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

-- 
1.7.6.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-09 13:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 18:48 [Qemu-devel] [RFC PATCH 0/3] qcow2: Save requests during cluster allocation Kevin Wolf
2012-03-02 18:48 ` [Qemu-devel] [PATCH 1/3] qcow2: Factor out count_cow_clusters Kevin Wolf
2012-03-02 18:48 ` [Qemu-devel] [PATCH 2/3] qcow2: Add qcow2_alloc_clusters_at() Kevin Wolf
2012-03-02 18:48 ` [Qemu-devel] [PATCH 3/3] qcow2: Reduce number of I/O requests Kevin Wolf
2012-03-09 13:08 ` [Qemu-devel] [RFC PATCH 0/3] qcow2: Save requests during cluster allocation Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).