X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=init.c;h=7f2747a43a0a3c538272e65e35be03d5fb92ef1e;hb=ed92ac0ce9ce1cc64697272d307d4fa7d18ed64c;hp=611aa9c06bafeca927fbbb0db4bb3aeebe430208;hpb=d56cbab065c01e1a177bc1b8d85a8f5d78df1548;p=fio.git diff --git a/init.c b/init.c index 611aa9c0..7f2747a4 100644 --- a/init.c +++ b/init.c @@ -41,6 +41,12 @@ static int str_cpumask_cb(void *, unsigned int *); * Map of job/command line options */ static struct fio_option options[] = { + { + .name = "description", + .type = FIO_OPT_STR_STORE, + .off1 = td_var_offset(description), + .help = "Text job description", + }, { .name = "name", .type = FIO_OPT_STR_STORE, @@ -75,7 +81,7 @@ static struct fio_option options[] = { .help = "IO engine to use", .def = "sync", .posval = { "sync", "libaio", "posixaio", "mmap", "splice", - "sg", "null", }, + "sg", "null", "net", }, }, { .name = "iodepth", @@ -417,7 +423,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 +538,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.