The point of the raw I/O (be it sendfile, O_DIRECT or otherwise) is to provide
hooks that allow programs to safely access I/O without some of the existing
overhead in specific cases where the program knows best.
Its not about giving direct access to the hardware. O_DIRECT says "This isnt
worth caching, and please get it here efficiently". It doesnt say "excuse me
I want to take over the disk controller".
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/