eio_readahead
(PECL eio >= 0.0.1dev)
Perform file readahead into page cache
Description
eio_readahead() populates the page cache with data from a file so that subsequent reads from that file will not block on disk I/O. See READAHEAD(2) man page for details.
Parameters
fdStream, Socket resource, or numeric file descriptor
offsetStarting point from which data is to be read.
lengthNumber of bytes to be read.
priValues
callbackProto
dataArbitrary variable passed to
callback.
Return Values
eio_readahead() returns request resource on success,Falseforfailure.