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

From: Roy Sigurd Karlsbakk (roy@karlsbakk.net)
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

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



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