#include "fio.h"
#include "parse.h"
-static char fio_version_string[] = "fio 1.17.3";
+static char fio_version_string[] = "fio 1.18.1";
#define FIO_RANDSEED (0xb1899bedUL)
o->write_iolog_file = NULL;
}
- if (td->io_ops->flags & FIO_SYNCIO)
- o->iodepth = 1;
- else {
- if (!o->iodepth)
- o->iodepth = o->open_files;
- }
-
/*
* only really works for sequential io for now, and with 1 file
*/
if (o->fill_device && !o->size)
o->size = ULONG_LONG_MAX;
+
+ if (td_rw(td) && td->o.verify != VERIFY_NONE)
+ log_info("fio: mixed read/write workload with verify. May not "
+ "work as expected, unless you pre-populated the file\n");
return 0;
}
printf("\t \tMay be \"always\", \"never\" or \"auto\"\n");
}
+#ifdef FIO_INC_DEBUG
struct debug_level debug_levels[] = {
{ .name = "process", .shift = FD_PROCESS, },
{ .name = "file", .shift = FD_FILE, },
log_err("fio: debug mask %s not found\n", opt);
}
}
+#else
+static void set_debug(const char *string)
+{
+ log_err("fio: debug tracing not included in build\n");
+}
+#endif
static int parse_cmd_line(int argc, char *argv[])
{