On Sun, Apr 08, 2007 at 05:09:36PM -0700, James Peach wrote:
> 
> You could add this to vfs_cacheprime, and just have an option that  
> determines whether it does a readahead (ie. I/O hint) or an actual  
> read(2).

I await your patch :-).

> Sure, but 2 modules that do *almost* the same thing is just confusing.

I don't think they do. readahead is built around
this one syscall on Linux. It's not the same as
cacheprime - cacheprime reads from the start of
the file, readahead triggers on every pread/sendfile
request that matches offset MOD readahead_offset.

Jeremy.

Reply via email to