Messages in this thread | | | Subject | Re: Special Kernel Modification | From | Andi Kleen <> | Date | 05 Nov 2001 07:22:28 +0100 |
| |
Hi Jeff,
Jeff Dike <jdike@karaya.com> writes:
> Ummm, how about O_DIRECT instead of O_SYNC (or maybe as well, my googling > hasn't been clear on whether O_DIRECT bypasses the cache on writes as well)?
It does, but it has been deimplemented in the Linus tree and never put into the -ac tree. You would need -aa for working O_DIRECT or use a raw device.
Also they both have some restrictions on buffer alignment, but these would be already fulfilled if UML internally writes through the page cache (which it does of course)
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |