svn commit: samba r22132 - in branches:
jra at samba.org
Mon Apr 9 00:23:14 GMT 2007
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
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.
More information about the samba-technical