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

From: Roy Sigurd Karlsbakk (
Date: Wed Oct 09 2002 - 06:53:33 EST

On Tuesday 08 October 2002 04:38, Robert Love wrote:
> Attached patch implements an O_STREAMING file I/O flag which enables
> manual drop-behind of pages.
> If the file has O_STREAMING set then the user has explicitly said "this
> is streaming data, I know I will not revisit this, do not cache
> anything". So we drop pages from the pagecache before our current
> index. We have to fiddle a bit to get writes working since we do
> write-behind but the logic is there and it works.

Great ;-)
This is the nice way of doing what the akpm-patch did for me a while ago.


Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS -
Tel: +47 9801 3356

Computers are like air conditioners. They stop working when you open Windows.

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