lkml.org 
[lkml]   [2002]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: O_STREAMING has insufficient info - how about fadvise() ?
From
Date
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 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 13:29    [W:0.197 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site