Re: [PATCH] O_STREAMING - flag for optimal streaming I/O

From: Andrew Morton (
Date: Tue Oct 08 2002 - 14:30:24 EST

Robert Love wrote:
> ...
> Andrew, any experience on one vs. the other?

I'd say that if you were designing a new application which
streams large amount of data then yes, you would design it
to use O_DIRECT. You would instantiate a separate IO worker
thread and a message passing mechanism so that thread would
pump your data for you, and would peform your readahead, etc.

If your filesystem supports O_DIRECT, of course. Not all do.

The strength of O_STREAMING is that you can take an existing,
working, megahuge application and make it play better with the
VM by changing a single line of code. No big redesign needed.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:27 EST