qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors
Date: Tue, 16 Jun 2009 13:06:05 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/16/2009 12:31 PM, Kevin Wolf wrote:
Once upon a time, there was a bdrv_pwrite that actually wrote single bytes to
the file... However, today it is emulated by a read-modify-write cycle which
aligns the request to sector size. This is slow. And we don't need it: qcow2
often has the complete sector in memory, we don't need to read it from the disk
again.

These patches change the writes to L1 tables, L2 tables and refcount blocks to
write complete sectors instead of single entries.

This series depends on the qcow2 split to apply cleanly.


Patches look good to me.

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





reply via email to

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