On Thu, Apr 08, 2010 at 06:28:54PM +0300, Avi Kivity wrote:
> On 04/08/2010 06:26 PM, Chris Mason wrote:
> >>
> >>>Once the O_DIRECT read patch is in, you can switch to that, or tell qemu
> >>>to use a writeback cache instead.
> >>Even with writeback qemu will issue a lot of fsyncs.
> >Oh, I didn't see that when I was testing, when does it fsync?
> 
> When it updates qcow2 metadata or when the guest issues a barrier.
> It's relatively new.  I have a patch that introduces cache=volatile
> somewhere.

Ok, that's actually perfect.  I'll retest with that if I can get
qemu-git to work here.

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to