eio_readahead
eio_readahead
(PECL eio >= 0.0.1dev)
eio_readahead — Perform file readahead into page cache
Description
resource eio_readahead ( mixed $fd , int $offset , int $length [, int $pri = EIO_PRI_DEFAULT [, callable $callback = NULL [, mixed $data = NULL ]]] )
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.