From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Cc: Jay Mann <jmandawg@hotmail.com>, Uri Lublin <ulublin@redhat.com>,
Avi Kivity <avi@redhat.com>,
kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Re: Problems KVM-84
Date: Wed, 11 Mar 2009 16:06:36 +0000 [thread overview]
Message-ID: <20090311160636.GA18390@shareable.org> (raw)
In-Reply-To: <49B7C6BF.6030803@codemonkey.ws>
Anthony Liguori wrote:
> > block-qcow2: keep highest allocated byte (Uri Lublin)
> > We want to know the highest written offset for qcow2 images.
> > This gives a pretty good (and easy to calculate) estimation to how
> > much more allocation can be done for the block device.
> > It can be usefull for allocating more diskspace for that image
> > (if possible, e.g. lvm) before we run out-of-disk-space
> > Signed-off-by: Uri Lublin <uril@redhat.com>
> > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
> >
> >Scanning the file at startup is slow. We need to find a better way.
>
> Any quick ideas? Seems like this is broken by design. Unless we can
> find a quick fix, I'm going to revert this in the stable tree.
I still don't understand the point in that feature.
You have the size of the qcow2 file (how much data is used), and the
size of the image it's representing (how much it could expand to).
What does the highest written offset help you anticipate?
Many guest filesystems write data all over the block device, not
concentrated at the start. (E.g. ext2/3/4 and it's block groups).
-- Jamie
next prev parent reply other threads:[~2009-03-11 16:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <loom.20090227T005557-327@post.gmane.org>
2009-03-11 11:15 ` [Qemu-devel] Re: Problems KVM-84 Avi Kivity
2009-03-11 14:12 ` Anthony Liguori
2009-03-11 14:52 ` Avi Kivity
2009-03-11 20:19 ` Anthony Liguori
2009-03-11 16:06 ` Jamie Lokier [this message]
2009-03-11 22:59 ` Uri Lublin
2009-03-11 18:37 ` Uri Lublin
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=20090311160636.GA18390@shareable.org \
--to=jamie@shareable.org \
--cc=avi@redhat.com \
--cc=jmandawg@hotmail.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=ulublin@redhat.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).