[PATCH] Fix libaio engine SYNC
authorJens Axboe <jens.axboe@oracle.com>
Sat, 10 Feb 2007 11:57:55 +0000 (12:57 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 10 Feb 2007 11:57:55 +0000 (12:57 +0100)
commite5c40aabb82b796e34f2ea7a184a3f72f5fb41e5
tree4b083c3bb995990022455e20e6380b5d57d5584b
parentab5d675e9f5a805a21f51b553c49268401f19402
[PATCH] Fix libaio engine SYNC

io_prep_fsync() isn't supported at all in Linux currently, so
fall back to fsync() if we get an -EINVAL return value.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/libaio.c