#define DEF_ZONE_SIZE (0)
#define DEF_ZONE_SKIP (0)
-static char fio_version_string[] = "fio 1.1";
+static char fio_version_string[] = "fio 1.3";
static int repeatable = DEF_RAND_REPEAT;
static char *ini_file;
if (td->filetype == FIO_TYPE_FILE) {
if (td->directory[0] != '\0')
- sprintf(td->file_name, "%s/%s.%d", td->directory, jobname, td->thread_number);
+ sprintf(td->file_name, "%s/%s.%d", td->directory, jobname, td->jobnum);
else
- sprintf(td->file_name, "%s.%d", jobname, td->thread_number);
+ sprintf(td->file_name, "%s.%d", jobname, td->jobnum);
} else
strcpy(td->file_name, jobname);
td_new->numjobs = 1;
td_new->stonewall = 0;
+ td_new->jobnum = numjobs;
if (add_job(td_new, jobname, prioclass, prio))
goto err;