aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/perf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/perf.sh')
-rwxr-xr-xtools/test/stress2/misc/perf.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/test/stress2/misc/perf.sh b/tools/test/stress2/misc/perf.sh
index 89e9dd8d371c..de6c20028c59 100755
--- a/tools/test/stress2/misc/perf.sh
+++ b/tools/test/stress2/misc/perf.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
-# SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2021 Peter Holm <pho@FreeBSD.org>
#
@@ -84,6 +84,7 @@ tst() {
s=0
for i in "" "-U" "-j"; do
newfs $i /dev/md$mdstart > /dev/null 2>&1
+ [ "$i" = "" ] && tunefs -n disable md$mdstart
mount /dev/md$mdstart $mntpoint
t1=`date +%s`