Skip to contentSkip to conversation

Special Kernel Modification

DISCUSSION Andi Kleen 1 participant 1 message Nov 5, 2001 1 message not in the archive

lore
Share & tools
lore

Andi Kleen

author
#1 lore raw
In reply to a message not in the archive

Hi Jeff,

Quoted 2 lines · Jeff Dike

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