qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Wipe patch


From: Avi Kivity
Subject: Re: [Qemu-devel] Wipe patch
Date: Wed, 26 Jul 2006 12:19:53 +0300
User-agent: Thunderbird 1.5.0.4 (X11/20060614)

Brad Campbell wrote:
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?

Why would it? In most cases, the zero test would terminate quickly, without accessing the entire cluster.

--
error compiling committee.c: too many arguments to function





reply via email to

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