On Fri, Aug 21, 2009 at 10:11:37PM -0400, Theodore Tso wrote: > Yeah, I guess we can only do that if the filesystem guarantees > coherence between the page cache and O_DIRECT reads; it's been a long > while since I've studied that code, so I'm not sure whether all > filesystems that support O_DIRECT provide this coherency (since I > thought it was provided in the generic O_DIRECT routines, isn't it?) > or not. It's provided in the generic code, yes (or at least appears to). Note that xfstests has quite a few tests exercising it. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html