X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=helpers.h;h=607296328362b50d2c349c5a1dd481495310a299;hb=9918be5a9bfe2819cccdb9f975f2b9d4d36f3f70;hp=4f8cc0ce2f87bba511baebbfc13df02b52d92b13;hpb=3b2e1464ae58caf42c74ab4bdeaa5eae7c38a23f;p=fio.git diff --git a/helpers.h b/helpers.h index 4f8cc0ce..60729632 100644 --- a/helpers.h +++ b/helpers.h @@ -3,11 +3,15 @@ #include "compiler/compiler.h" +#include + struct in_addr; extern int __weak posix_memalign(void **ptr, size_t align, size_t size); extern int __weak posix_fallocate(int fd, off_t offset, off_t len); extern int __weak inet_aton(const char *cp, struct in_addr *inp); extern int __weak clock_gettime(clockid_t clk_id, struct timespec *ts); +extern int __weak sync_file_range(int fd, off64_t offset, off64_t nbytes, + unsigned int flags); -#endif +#endif /* FIO_HELPERS_H_ */