engine/filecreate: use clat and reads for stats
[fio.git] / filesetup.c
index b51ab35ce08b59ccbff3d2d7f2da2692c69a85aa..789f0ed29ea501be4c5e3c3ee895093b305b5787 100644 (file)
@@ -1588,7 +1588,8 @@ int add_file(struct thread_data *td, const char *fname, int numjob, int inc)
        if (f->filetype == FIO_TYPE_FILE)
                td->nr_normal_files++;
 
-       set_already_allocated(file_name);
+       if (td->o.numjobs > 1)
+               set_already_allocated(file_name);
 
        if (inc)
                td->o.nr_files++;
@@ -1868,6 +1869,7 @@ int fio_set_directio(struct thread_data *td, struct fio_file *f)
 
        return 0;
 #else
+       log_err("fio: direct IO is not supported on this host operating system\n");
        return -1;
 #endif
 }