lkml.org 
[lkml]   [2004]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPOSIX_FADV_NOREUSE and O_STREAMING behavior in 2.6.7
I am trying to get O_STREAMING (Robert Love patch for 2.4) behavior in 
2.6 and just a glance at fadvise.c suggests that POSIX_FADV_NOREUSE is
not implemented any differently than POSIX_FADV_WILLNEED. Am I missing
something? I want to read data from disk with readahead and drop the
data from the page cache as soon as I am done with it. Do I have to call
fadvise with POSIX_FADV_DONTNEED after every read?

Thanks,

David Rolenc
RT Logic!
www.rtlogic.com

-
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 14:05    [W:0.168 / U:0.088 seconds]
©2003-2011 Jasper Spaans. Advertise on this site