filesetup: print warning if chosen random generator can't cover range
[fio.git] / helpers.h
CommitLineData
c5c8bd5c
JA
1#ifndef FIO_HELPERS_H
2#define FIO_HELPERS_H
3
3b2e1464
JA
4#include "compiler/compiler.h"
5
93bcfd20 6#include <sys/types.h>
03e20d68
BC
7#include <time.h>
8
67bf9823
JA
9extern int fallocate(int fd, int mode, off_t offset, off_t len);
10extern int posix_fallocate(int fd, off_t offset, off_t len);
11extern int sync_file_range(int fd, off64_t offset, off64_t nbytes,
a54cf034 12 unsigned int flags);
67bf9823 13extern int posix_fadvise(int fd, off_t offset, off_t len, int advice);
c5c8bd5c 14
03e20d68 15#endif /* FIO_HELPERS_H_ */