lkml.org 
[lkml]   [2002]   [Oct]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromRoy Sigurd Karlsbakk <>
SubjectRe: [PATCH] O_STREAMING - flag for optimal streaming I/O
DateWed, 9 Oct 2002 13:53:33 +0200
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/

\
 
 \ /
  Last update: 2005-03-22 12:29    [from the cache]
©2003-2008