[eio] readahead

2008-09-01 Thread ryah dahl
Hi Marc, I'm trying to understand your emulation for readahead() in libeio. It doesn't seem that the eio_buf that is being read into is ever referred to again. Is the idea that calling pread() will cache the file anyway? What about using fadvise? thanks, ry

Re: [eio] readahead

2008-09-01 Thread Marc Lehmann
On Mon, Sep 01, 2008 at 05:29:25PM +0200, ryah dahl [EMAIL PROTECTED] wrote: I'm trying to understand your emulation for readahead() in libeio. It doesn't seem that the eio_buf that is being read into is ever referred to again. Correct. Is the idea that calling pread() will cache the file