|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: [PATCH v2 6/7] qed: Read/write support |
Date: | Tue, 12 Oct 2010 18:21:19 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4 |
On 10/12/2010 06:16 PM, Anthony Liguori wrote:
It's fairly simple to add a sync to this path. It's probably worth checking the prefill/postfill for zeros and avoiding the write/sync if that's the case. That should optimize the common cases of allocating new space within a file.My intuition is that we can avoid the sync entirely but we'll need to think about it further.
I don't think so. This isn't a guest initiated write so we can't shift responsibility to the guest.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |