Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looking at it from another side...The whole Direct I/O path looks like a worst can of worms...maybe it's easier to review again fsync :-)

"...The exact semantics of Direct I/O (O_DIRECT) are not well specified. It is not a part of POSIX, or SUS, or any other formal standards specification. The exact meaning of O_DIRECT has historically been negotiated in non-public discussions between powerful enterprise database companies and proprietary Unix systems, and its behaviour has generally been passed down as oral lore rather than as a formal set of requirements and specifications..."

"The thing that has always disturbed me about O_DIRECT is that the whole interface is just stupid, and was probably designed by a deranged monkey on some serious mind-controlling substances." -- Linus

https://ext4.wiki.kernel.org/index.php/Clarifying_Direct_IO%...



That's hilarious. Sorry to drag you into such a can of worms ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: