[PATCH] Allow io engine to do the file setup

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c
index 8278b60..ea57d78 100644
--- a/fio.c
+++ b/fio.c
@@ -1210,8 +1210,8 @@
 	struct stat st;
 	int flags = 0;
 
-	if (td->io_ops->flags & FIO_CPUIO)
-		return 0;
+	if (td->io_ops->setup)
+		return td->io_ops->setup(td);
 
 	if (stat(td->file_name, &st) == -1) {
 		if (errno != ENOENT) {