|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] Re: [PATCH][v2] Align file accesses with cache=off (O_DIRECT) |
Date: | Wed, 21 May 2008 15:37:23 +0300 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Jamie Lokier wrote:
Why would O_SYNC be better than O_DIRECT?
O_SYNC is a write-through cache. O_DIRECT is completely uncached. Both have their uses (including in this context), so you can't say one is better than the other.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |