Allow IO logging even for diskless engines
[fio.git] / log.c
diff --git a/log.c b/log.c
index 6604c1c8ac9295877e2f2a5b95ef2d54f09b21da..6fe4961255c710a0ccc82a3e2c66478eb0f334d9 100644 (file)
--- a/log.c
+++ b/log.c
@@ -406,6 +406,8 @@ static int init_iolog_write(struct thread_data *td)
                return 1;
        }
 
+       printf("log opened\n");
+
        /*
         * That's it for writing, setup a log buffer and we're done.
          */
@@ -434,9 +436,6 @@ int init_iolog(struct thread_data *td)
 {
        int ret = 0;
 
-       if (td->io_ops->flags & FIO_DISKLESSIO)
-               return 0;
-
        if (td->o.read_iolog_file) {
                /*
                 * Check if it's a blktrace file and load that if possible.