eio_readahead
eio_readahead
Perform file readahead into page cache
resource **eio_readahead** mixed $fd int $offset int $length int $pri callable $callback mixed $data
populates the page cache with data from a file so that subsequent reads from
that file will not block on disk I/O. See man page for details.
eio_readahead``READAHEAD(2)
fdStream, Socket resource, or numeric file descriptor
offsetStarting point from which data is to be read.
lengthNumber of bytes to be read.
pri``callback``data
Arbitrary variable passed to .
callback
returns request resource on success,return.falseforfailure.
eio_readahead