X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=init.c;h=365a8b2cc0a97651eaf5cad0fd6e7f5db089d43f;hp=5d6b0a904f8348af3ccd649054b24132e29de20d;hb=bb3884d855100fa8fa6a1d2aac79e867dfd47bf9;hpb=76a43db448f9fd5e9f1397428a433466d98e0d5d diff --git a/init.c b/init.c index 5d6b0a90..365a8b2c 100644 --- a/init.c +++ b/init.c @@ -321,7 +321,7 @@ static struct fio_option options[] = { .name = "thinktime", .type = FIO_OPT_INT, .off1 = td_var_offset(thinktime), - .help = "Idle time between IO buffers", + .help = "Idle time between IO buffers (usec)", .def = "0", }, { @@ -417,7 +417,7 @@ static struct fio_option options[] = { .type = FIO_OPT_BOOL, .off1 = td_var_offset(unlink), .help = "Unlink created files after job has completed", - .def = "1", + .def = "0", }, { .name = "exitall", @@ -532,7 +532,7 @@ FILE *f_out = NULL; FILE *f_err = NULL; static int write_lat_log = 0; -static int write_bw_log = 0; +int write_bw_log = 0; /* * Return a free job structure. @@ -756,7 +756,7 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num) c3 = to_kmg(td->min_bs[DDIR_WRITE]); c4 = to_kmg(td->max_bs[DDIR_WRITE]); - fprintf(f_out, "%s: (g=%d): rw=%s, odir=%u, bs=%s-%s/%s-%s, rate=%u, ioengine=%s, iodepth=%u\n", td->name, td->groupid, ddir_str[ddir], td->odirect, c1, c2, c3, c4, td->rate, td->io_ops->name, td->iodepth); + fprintf(f_out, "%s: (g=%d): rw=%s, bs=%s-%s/%s-%s, ioengine=%s, iodepth=%u\n", td->name, td->groupid, ddir_str[ddir], c1, c2, c3, c4, td->io_ops->name, td->iodepth); free(c1); free(c2);