[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors |
Date: |
Tue, 16 Jun 2009 12:15:02 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Dor Laor schrieb:
> 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.
>>
>>
>
> If it's not an RFC, you better prepare a git tree for Anthony to pull from
I can do that, but the patches need to be on the list anyway.
> and described how did you test it. Maybe committing the qemu-io scripts
> would also be a move in the right direction.
Anthony is promising for a while now that he will push his tests to the
tree. Once he has done so, I'll consider integrating my script.
Kevin
- [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors, Kevin Wolf, 2009/06/16
- [Qemu-devel] [PATCH 3/3] update_refcount: Write complete sectors, Kevin Wolf, 2009/06/16
- [Qemu-devel] [PATCH 2/3] alloc_cluster_link_l2: Write complete sectors, Kevin Wolf, 2009/06/16
- [Qemu-devel] [PATCH 1/3] l2_allocate: Write complete sectors, Kevin Wolf, 2009/06/16
- Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors, Dor Laor, 2009/06/16
- Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH 0/3] qcow2: Write complete sectors, Avi Kivity, 2009/06/16