This is just an one-off structure for filesetup.c to walk through
all the files (among all jobs), so it can be file local.
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
#define FILE_SET_ENG_DATA(f, data) \
((f)->engine_data = (uintptr_t) (data))
-struct file_name {
- struct flist_head list;
- char *filename;
-};
-
#define FILE_FLAG_FNS(name) \
static inline void fio_file_set_##name(struct fio_file *f) \
{ \
static FLIST_HEAD(filename_list);
+/*
+ * List entry for filename_list
+ */
+struct file_name {
+ struct flist_head list;
+ char *filename;
+};
+
static inline void clear_error(struct thread_data *td)
{
td->error = 0;