Re: O_STREAMING has insufficient info - how about fadvise() ?

From: Alan Cox (
Date: Thu Oct 10 2002 - 11:08:48 EST

On Thu, 2002-10-10 at 16:34, Andrew Morton wrote:
> In 2.5, the radix tree gang lookup thing will do this search in O(zilch).
> The other problem with fadvise is writebehind - there are up to
> 30 seconds' worth of dirty pages behind the application's write
> cursor which fadvise wouldn't be able to do anything with. So
> the application would end up running fadvise(offset=0, length=current-pos)
> all the time. Which is equivalent to O_STREAMING.

The write side is actually not very interesting. We can do that already
with fsync in a thread.

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:37 EST