From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G5exz-0004AC-0U for qemu-devel@nongnu.org; Wed, 26 Jul 2006 04:42:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G5exw-00046m-15 for qemu-devel@nongnu.org; Wed, 26 Jul 2006 04:42:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5exv-00046c-Tu for qemu-devel@nongnu.org; Wed, 26 Jul 2006 04:42:03 -0400 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G5ezQ-0000MH-JX for qemu-devel@nongnu.org; Wed, 26 Jul 2006 04:43:36 -0400 Message-ID: <44C72AD0.1090004@wasp.net.au> Date: Wed, 26 Jul 2006 12:41:52 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Re: [Qemu-devel] Wipe patch References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ZIGLIO, Frediano, VF-IT wrote: > Hi, > well, this is not a definitive patch but it works. The aim is to be > able to wipe the disk without allocating entire space. When you wipe a > disk the program fill disk with zero bytes so disk image increase to > allocate all space. This just patch detect null byte writes and do not > write all zero byte clusters. This _looks_ like it would severely impact cpu load during a write. Have you done any testing to determine if this is likely to impact a normal usage scenario? Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams