[PATCH] Don't make file unlink the default
authorJens Axboe <jens.axboe@oracle.com>
Sat, 13 Jan 2007 23:00:29 +0000 (00:00 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 13 Jan 2007 23:00:29 +0000 (00:00 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
HOWTO
init.c

diff --git a/HOWTO b/HOWTO
index 95d059e766e6399f29d8097331a076db4df29161..198d70b5247229402e76c1d22d6b304b37cfffb5 100644 (file)
--- 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 611aa9c06bafeca927fbbb0db4bb3aeebe430208..e0e1d9f0ab6ed358348fb7c21e5a0e56b103ad57 100644 (file)
--- 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",