[PATCH] Don't make file unlink the default
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/HOWTO b/HOWTO
index 95d059e..198d70b 100644
--- a/HOWTO
+++ b/HOWTO
@@ -423,8 +423,9 @@
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 611aa9c..e0e1d9f 100644
--- a/init.c
+++ b/init.c
@@ -417,7 +417,7 @@
.type = FIO_OPT_BOOL,
.off1 = td_var_offset(unlink),
.help = "Unlink created files after job has completed",
- .def = "1",
+ .def = "0",
},
{
.name = "exitall",