X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=file.h;h=ac00ff877997531f2879fcc9e4dbe167f2da7634;hb=97900ebfb0192130823dce8aa8f36916313a1c18;hp=f7e5d2046a3e98cbce18ae94665a4318215c0dec;hpb=78475ac3b9453eff01c34778d70a2aed4aecffe8;p=fio.git diff --git a/file.h b/file.h index f7e5d204..ac00ff87 100644 --- a/file.h +++ b/file.h @@ -15,7 +15,7 @@ */ enum fio_filetype { FIO_TYPE_FILE = 1, /* plain file */ - FIO_TYPE_BD, /* block device */ + FIO_TYPE_BLOCK, /* block device */ FIO_TYPE_CHAR, /* character device */ FIO_TYPE_PIPE, /* pipe */ }; @@ -210,6 +210,7 @@ extern int get_fileno(struct thread_data *, const char *); 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 fio_files_done(struct thread_data *); +extern bool exists_and_not_regfile(const char *); #endif