Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2022 06:29:41 GMT
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bfdcd042bc8c - main - stress2: Remove the memory disk after the fsck, not before
Message-ID:  <202203180629.22I6Tfbh038390@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=bfdcd042bc8cd9fe5b26a662d3716bed9a9c2483

commit bfdcd042bc8cd9fe5b26a662d3716bed9a9c2483
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2022-03-18 06:28:58 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2022-03-18 06:28:58 +0000

    stress2: Remove the memory disk after the fsck, not before
---
 tools/test/stress2/misc/pfl4.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/test/stress2/misc/pfl4.sh b/tools/test/stress2/misc/pfl4.sh
index 8128fa1f585c..38520a983d33 100755
--- a/tools/test/stress2/misc/pfl4.sh
+++ b/tools/test/stress2/misc/pfl4.sh
@@ -86,10 +86,11 @@ for i in `jot $mounts $start`; do
 	mntpoint=${prefix}$i
 	n=0
 	while mount | grep -q "on $mntpoint "; do
-		umount $mntpoint && mdconfig -d -u $mdstart || sleep 1
+		umount $mntpoint || sleep 1
 		n=$((n += 1))
 		[ $n -gt 60 ] && exit 1
 	done
 	checkfs /dev/md${mdstart}$part || s=$?
+	mdconfig -d -u $mdstart
 done
 exit $s



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203180629.22I6Tfbh038390>