Jeff Garzik wrote:
> On a similar subject, how feasible is it to implement O_DIRECT?
>
> This would be wonderful for video players or other apps which deal with
> things at a filesystem (not raw device) level, but are still smart
> enough to do their own caching. Or deal with such large files that they
> wind up killing your other cached fs data...
For video players, I think you can go a long way with mmap() and
madvise(). (But I haven't tried it).
-- Jamie
-
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/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:34 EST