qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: patch to avoid space allocation for zero blocks in the


From: Ben Pfaff
Subject: [Qemu-devel] Re: patch to avoid space allocation for zero blocks in the qcow format
Date: Mon, 24 Apr 2006 23:43:12 -0000
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Bakul Shah <address@hidden> writes:

> The below patch avoids allocating space in the qcow image
> format when a block of zeroes is being written.  No attempt
> is made to free up space if a previously written block of
> nonzero data is being overwritten with zeroes.

This optimization is only possible for base disks (those with no
parent).  Based on a quick glance at the diff, I am not sure
whether this change properly recognizes that.  Does it?
-- 
Ben Pfaff 
email: address@hidden
web: http://benpfaff.org





reply via email to

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