{
char file[PATH_MAX], *dir;
struct stat sb;
+ int elen = 0;
- strcpy(file, fname);
+ if (td->o.directory) {
+ strcpy(file, td->o.directory);
+ elen = strlen(file);
+ }
+
+ sprintf(file + elen, "/%s", fname);
dir = dirname(file);
if (lstat(dir, &sb) < 0) {
},
{
.name = "rwmixcycle",
- .type = FIO_OPT_INT,
- .off1 = td_var_offset(rwmixcycle),
- .help = "Cycle period for mixed read/write workloads (msec)",
- .def = "500",
- .parent = "rwmixread",
+ .type = FIO_OPT_DEPRECATED,
},
{
.name = "nice",