The following changes since commit ae2ddba4e74f06b5ec986d1c3387cd14e69f8146: Fix broken FIO_OPT_STR option (2010-03-10 12:49:03 +0100) are available in the git repository at: git://git.kernel.dk/fio.git master Jens Axboe (1): Add __weak sync_file_range() helpers.c | 6 ++++++ helpers.h | 2 ++ 2 files changed, 8 insertions(+), 0 deletions(-) --- Diff of recent changes: diff --git a/helpers.c b/helpers.c index 9b1f3e9..779f9fb 100644 --- a/helpers.c +++ b/helpers.c @@ -29,3 +29,9 @@ int __weak clock_gettime(clockid_t clk_id, struct timespec *ts) return ret; } + +int __weak sync_file_range(int fd, off64_t offset, off64_t nbytes, + unsigned int flags) +{ + return 0; +} diff --git a/helpers.h b/helpers.h index 4f8cc0c..8307c43 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 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html