int posix_fadvise ( int fd, off_t offset, off_t len, int advice); int posix_fallocate ( int fd, off_t offset, off_t len);
POSIX_FADV_NORMAL - no advice
POSIX_FADV_SEQUENTIAL - sequential access
POSIX_FADV_RANDOM - random access
POSIX_FADV_NOREUSE - data used once
POSIX_FADV_WILLNEED - data will be used soon
POSIX_FADV_DONTNEED - data will not be used soon