From: Jens Axboe Date: Sat, 13 Jan 2007 23:00:29 +0000 (+0100) Subject: [PATCH] Don't make file unlink the default X-Git-Tag: fio-1.12~146 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e545a6ce0f0f3e6881e997bf2af8969fc6dd7082;p=fio.git [PATCH] Don't make file unlink the default Signed-off-by: Jens Axboe --- diff --git a/HOWTO b/HOWTO index 95d059e7..198d70b5 100644 --- a/HOWTO +++ b/HOWTO @@ -423,8 +423,9 @@ create_serialize=bool If true, serialize the file creating for the jobs. create_fsync=bool fsync the data file after creation. This is the default. -unlink=bool Unlink the job files when done. fio defaults to doing this, - if it created the file itself. +unlink=bool Unlink the job files when done. Not the default, as repeated + runs of that job would then waste time recreating the fileset + again and again. loops=int Run the specified number of iterations of this job. Used to repeat the same workload a given number of times. Defaults diff --git a/init.c b/init.c index 611aa9c0..e0e1d9f0 100644 --- a/init.c +++ b/init.c @@ -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",