Add create_only option
If this option is set, then fio will only run the preparation
phase of a job. This means it will create all the files it
needs, but exit after that.
Suggested-by: Georg Schönberger <gschoenberger@thomas-krenn.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/fio.1 b/fio.1
index 969c4a1..77c8d9b 100644
--- a/fio.1
+++ b/fio.1
@@ -725,6 +725,11 @@
.BI create_on_open \fR=\fPbool
If true, the files are not created until they are opened for IO by the job.
.TP
+.BI create_only \fR=\fPbool
+If true, fio will only run the setup phase of the job. If files need to be
+laid out or updated on disk, only that will be done. The actual job contents
+are not executed.
+.TP
.BI pre_read \fR=\fPbool
If this is given, files will be pre-read into memory before starting the given
IO operation. This will also clear the \fR \fBinvalidate\fR flag, since it is