X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=helpers.h;h=8307c43af3136dea29b91ffdb68894317f864b21;hp=4f8cc0ce2f87bba511baebbfc13df02b52d92b13;hb=bb0675581dc0a2e8133a6cbfa609b976b97d54ba;hpb=3b2e1464ae58caf42c74ab4bdeaa5eae7c38a23f diff --git a/helpers.h b/helpers.h index 4f8cc0ce..8307c43a 100644 --- a/helpers.h +++ b/helpers.h @@ -9,5 +9,7 @@ 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