[eio] readahead

ryah dahl ry at tinyclouds.org
Mon Sep 1 17:29:25 CEST 2008


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



More information about the libev mailing list