Update libaio/posixaio/splice for sync updates
[fio.git] / engines / posixaio.c
index 3ffdcb6bccc8d062b1be302b27c3cb004bd57d11..70282f2975f660185fa832dcbf868850e011f0a1 100644 (file)
@@ -175,9 +175,7 @@ static int fio_posixaio_queue(struct thread_data fio_unused *td,
                if (pd->queued)
                        return FIO_Q_BUSY;
 
-               if (fsync(io_u->file->fd) < 0)
-                       io_u->error = errno;
-
+               do_io_u_sync(td, io_u);
                return FIO_Q_COMPLETED;
 #endif
        }