Re: O_DIRECT question

From: Phillip Susi
Date: Mon Jan 22 2007 - 10:54:10 EST


Denis Vlasenko wrote:
What will happen if we just make open ignore O_DIRECT? ;)

And then anyone who feels sad about is advised to do it
like described here:

http://lkml.org/lkml/2002/5/11/58

Then database and other high performance IO users will be broken. Most of Linus's rant there is being rehashed now in this thread, and it has been pointed out that using mmap instead is unacceptable because it is inherently _synchronous_ and the app can not tolerate the page faults on read, and handling IO errors during the page fault is impossible/highly problematic.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/