+
+ need_create = 0;
+ if (td->filetype == FIO_TYPE_FILE) {
+ for_each_file(td, f, i) {
+ int file_there = !file_ok(td, f);
+
+ if (file_there && td_write(td) && !td->overwrite) {
+ unlink(f->file_name);
+ file_there = 0;
+ }
+
+ need_create += !file_there;
+ }