[PATCH] One more round of random map fixes
[fio.git] / engines / posixaio.c
index 71601fdd31c8df937cc08498c04d308875135d5e..2fc56cd690772e05c1881f73eff2449f14cab981 100644 (file)
@@ -151,8 +151,10 @@ static int fio_posixaio_queue(struct thread_data fio_unused *td,
        else
                ret = aio_fsync(O_SYNC, aiocb);
 
-       if (ret)
+       if (ret) {
                io_u->error = errno;
+               td_verror(td, io_u->error);
+       }
                
        return io_u->error;
 }