[PATCH] Move td_verror() into io_ops->queue() hook

Shows where the error occured, not where it got noticed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/engines/posixaio.c b/engines/posixaio.c
index 71601fd..2fc56cd 100644
--- a/engines/posixaio.c
+++ b/engines/posixaio.c
@@ -151,8 +151,10 @@
 	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;
 }