projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7d1ca6c
)
genfio: Enforce time_based if runtime > 0
author
Erwan Velu
<erwan@enovance.com>
Fri, 12 Jul 2013 15:13:59 +0000
(17:13 +0200)
committer
Erwan Velu
<erwan@enovance.com>
Fri, 12 Jul 2013 15:13:59 +0000
(17:13 +0200)
If the device is short and the bandwidth pretty high, we can exit
_before_ runtime is achieved. To avoid this phenomena, let's use
time_based directive that will ensure that no run will be shorten.
tools/genfio
patch
|
blob
|
blame
|
history
diff --git
a/tools/genfio
b/tools/genfio
index 4c1e710d2b2784d79bae4737d95d758920113a8d..6d3220daf1a4d93568a20f5950272a8f1198ac37 100755
(executable)
--- a/
tools/genfio
+++ b/
tools/genfio
@@
-101,6
+101,7
@@
EOF
if [ "$RUNTIME" != "0" ]; then
cat >>$TEMPLATE << EOF
runtime=$RUNTIME
+time_based
EOF
fi