From e545a6ce0f0f3e6881e997bf2af8969fc6dd7082 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 14 Jan 2007 00:00:29 +0100 Subject: [PATCH] [PATCH] Don't make file unlink the default Signed-off-by: Jens Axboe --- HOWTO | 5 +++-- init.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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", -- 2.25.1