qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, stefanha@gmail.com
Subject: [Qemu-devel] [RFC PATCH 0/3] qcow2: Save requests during cluster allocation
Date: Fri,  2 Mar 2012 19:48:48 +0100	[thread overview]
Message-ID: <1330714131-16908-1-git-send-email-kwolf@redhat.com> (raw)

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

             reply	other threads:[~2012-03-02 18:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 18:48 Kevin Wolf [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1330714131-16908-1-git-send-email-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).