path: root/file.h
diff options
authorJens Axboe <>2016-08-25 21:00:55 -0600
committerJens Axboe <>2016-08-25 21:00:55 -0600
commit04d6530f6ecd50520e99732b0b6bb90f71ff131a (patch)
tree6383371da4b2281cf264f6d16ab3496da5cd608d /file.h
parent4c13124fd80dad1e771dfca0022b37a3f1bb9a43 (diff)
file: fix numjobs > 1 and implied jobname as filename
If we have a jobfile that looks like: [global] numjobs=4 [/dev/somedevice] Then we fail jobs 2 and on, since we don't properly add those files. Fix this by checking if we're generating a filename based on the jobname. Fixes: bcbfeefa7bce ("fio: add multi directory support") Signed-off-by: Jens Axboe <>
Diffstat (limited to 'file.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/file.h b/file.h
index f7e5d20..aff3ce9 100644
--- a/file.h
+++ b/file.h
@@ -211,5 +211,6 @@ extern void free_release_files(struct thread_data *);
extern void filesetup_mem_free(void);
extern void fio_file_reset(struct thread_data *, struct fio_file *);
extern int fio_files_done(struct thread_data *);
+extern bool exists_and_not_regfile(const char *);