From d1415111eebe7a95d8de1af1ec61e80f9d534552 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Fri, 12 Jul 2013 17:13:59 +0200 Subject: [PATCH 1/1] genfio: Enforce time_based if runtime > 0 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/genfio b/tools/genfio index 4c1e710d..6d3220da 100755 --- a/tools/genfio +++ b/tools/genfio @@ -101,6 +101,7 @@ EOF if [ "$RUNTIME" != "0" ]; then cat >>$TEMPLATE << EOF runtime=$RUNTIME +time_based EOF fi -- 2.25.1