Set proper arguments to posix_fadvise.