svn commit: samba r22132 - in branches: SAMBA_3_0/source/modules SAMBA_3_0/source/smbd SAMBA_3_0_25/source/modules SAMBA_3_0_25/source/smbd

Jeremy Allison 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  
> 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.


More information about the samba-technical mailing list