▲ | weinzierl 16 hours ago | ||||||||||||||||||||||||||||||||||||||||
Linus very much opposed O_DIRECT from the start. If I remember correctly he only introduced it at the pressure from the "database people" i.e. his beloved Oracle. No wonder O_DIRECT never saw much love. "I hope some day we can just rip the damn disaster out." -- Linus Torvalds, 2007 | |||||||||||||||||||||||||||||||||||||||||
▲ | jandrewrogers 15 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
This is one of several examples where Linus thinks something is bad because he doesn't understand how it is used. Something like O_DIRECT is critical for high-performance storage in software for well-understood reasons. It enables entire categories of optimization by breaking a kernel abstraction that is intrinsically unfit for purpose; there is no way to fix it in the kernel, the existence of the abstraction is the problem as a matter of theory. As a database performance enjoyer, I've been using O_DIRECT for 15+ years. Something like it will always exist because removing it would make some high-performance, high-scale software strictly worse. | |||||||||||||||||||||||||||||||||||||||||
|