qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 18/21] qcow2: Add function for refcount order am


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 18/21] qcow2: Add function for refcount order amendment
Date: Wed, 12 Nov 2014 15:21:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 2014-11-12 at 15:19, Eric Blake wrote:
On 11/10/2014 06:45 AM, Max Reitz wrote:
Add a function qcow2_change_refcount_order() which allows changing the
refcount order of a qcow2 image.
A thought: didn't you just submit a patch that marked the image as
dirty, nuked the on-disk refcount, then rebuilt one using the in-memory
refcounts?  Would reusing THAT code be any better than writing this patch?

Yes, I thought about that, too... The problem is that that patch requires all refcount blocks to fit in memory at the same time (or generally, the qcow2 check function requires that, for now). I'd really like to avoid that, if possible, but maybe it isn't possible after all.

But if you say it like that ("nuke"), I guess I'll give it a try. Maybe it looks funny enough.

Max



reply via email to

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