qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Qemu-block] [RFC] Proposed qcow2 extension: subcluster


From: Alberto Garcia
Subject: Re: [Qemu-devel] [Qemu-block] [RFC] Proposed qcow2 extension: subcluster allocation
Date: Thu, 13 Apr 2017 10:05:39 +0200
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

On Wed 12 Apr 2017 04:10:46 PM CEST, Max Reitz <address@hidden> wrote:
>> I still don't see why we can always assume OFLAG_COPIED. Before doing
>> the COW one cluster can have references from multiple snapshots,
>
> Yes...
>
>> and OFLAG_COPIED is equally valid in that context.
>
> In what context? When having subclusters? Why?
>
>> We still need to know if we need to perform COW when writing to it,
>> regardless of whether it has subclusters or not.
>
> But why would you reference a cluster multiple times if it has
> subclusters? Yes, you can do it in theory, but we could just disallow
> it, because it doesn't make sense.

We discussed this yesterday on IRC, but I'm writing the summary here for
reference:

if you want be able to create internal snapshots quickly without having
to copy a lot of data, you need to be able to have multiple references
to one cluster.

Anyway, it seems that this discussion is only relevant if we're trying
to save as many bits as possible because we want to store everything in
a 64-bit entry -alternative (1) from my original e-mail-. I agree that
for that alternative the usefulness of that bit can be put into
question.

Berto



reply via email to

[Prev in Thread] Current Thread [Next in Thread]