From 7746a12476298286d5ff918af3a526dd60dae992 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 31 Oct 2012 14:24:58 +0530 Subject: storage/posix: Handle undefined symbol when aio is not available Change-Id: I47b93a5e72f06bda016b5b9ab820cbc8f99fab28 BUG: 871323 Signed-off-by: Pranith Kumar K Reviewed-on: https://code.engineering.redhat.com/gerrit/182 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur Reviewed-on: https://code.engineering.redhat.com/gerrit/1884 --- xlators/storage/posix/src/posix-aio.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'xlators') diff --git a/xlators/storage/posix/src/posix-aio.c b/xlators/storage/posix/src/posix-aio.c index 075fd320e7e..37ab4a3a5a0 100644 --- a/xlators/storage/posix/src/posix-aio.c +++ b/xlators/storage/posix/src/posix-aio.c @@ -570,4 +570,14 @@ posix_aio_off (xlator_t *this) return 0; } +void +__posix_fd_set_odirect (fd_t *fd, struct posix_fd *pfd, int opflags, + off_t offset, size_t size) +{ + xlator_t *this = THIS; + gf_log (this->name, GF_LOG_INFO, + "Linux AIO not availble at build-time." + " Continuing with synchronous IO"); + return; +} #endif -- cgit