From 8fa1c06b1856b7a4e682cb52800ad59d5756be6c Mon Sep 17 00:00:00 2001 From: Hannes Weisbach Date: Thu, 19 Dec 2019 10:33:24 +0100 Subject: [PATCH] Add example job file for exit_what --- examples/exitwhat.fio | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 examples/exitwhat.fio diff --git a/examples/exitwhat.fio b/examples/exitwhat.fio new file mode 100644 index 00000000..a1099f0f --- /dev/null +++ b/examples/exitwhat.fio @@ -0,0 +1,56 @@ +# We want to run fast1 as long as slow1 is running, but also have a cumulative +# report of fast1 (group_reporting=1/new_group=1). exitall=1 would not cause +# fast1 to stop after slow1 is done. Setting exit_what=stonewall will cause +# alls jobs up until the next stonewall=1 setting to be stopped, when job slow1 +# finishes. +# In this example skipping forward to slow2/fast2. slow2 has exit_what=all set, +# which means all jobs will be cancelled when slow2 finishes. In particular, +# runsnever will never run. + +[global] +filename=/tmp/test +filesize=1G +blocksize=4096 +group_reporting=1 +exitall=1 + +[slow1] +rw=r +numjobs=1 +ioengine=sync +new_group=1 +thinktime=2000 +number_ios=1000 +exit_what=stonewall + +[fast1] +new_group=1 +rw=randrw +numjobs=3 +ioengine=libaio +iodepth=32 +rate=300,300,300 + +[slow2] +stonewall=1 +rw=w +numjobs=1 +ioengine=sync +new_group=1 +thinktime=2000 +number_ios=1000 +exit_what=all + +[fast2] +rw=randrw +numjobs=3 +ioengine=libaio +iodepth=32 +rate=300,300,300 + +[runsnever] +rw=randrw +numjobs=3 +ioengine=libaio +iodepth=32 +rate=300,300,300 -- 2.25.1