projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filesetup: don't track file allocation for jobs == 1
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 891a55a1ddb97ab30c7cc375cd9246fed21addd8..789f0ed29ea501be4c5e3c3ee895093b305b5787 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-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++;