Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2023 07:56:11 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: 0ece3355f63f - main - stress2: Added comment about  a new panic found.  Test both SU and SU+J.
Message-ID:  <202304140756.33E7uBc5081515@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=0ece3355f63fc79a4afb4bb5e16995230cbf8748

commit 0ece3355f63fc79a4afb4bb5e16995230cbf8748
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2023-04-14 07:55:10 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2023-04-14 07:55:10 +0000

    stress2: Added comment about  a new panic found.  Test both SU and SU+J.
---
 tools/test/stress2/misc/pageout.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tools/test/stress2/misc/pageout.sh b/tools/test/stress2/misc/pageout.sh
index eafeb22d3417..2df199f9e6dc 100755
--- a/tools/test/stress2/misc/pageout.sh
+++ b/tools/test/stress2/misc/pageout.sh
@@ -33,6 +33,9 @@
 # "panic: handle_written_filepage: not started" seen:
 # https://people.freebsd.org/~pho/stress/log/pageout-2.txt
 
+# "panic: ffs_geom_strategy: bad I/O" seen:
+# https://people.freebsd.org/~pho/stress/log/log0434.txt
+
 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
 . ../default.cfg
 
@@ -49,6 +52,8 @@ mdconfig -l | grep -q md$mdstart &&  mdconfig -d -u $mdstart
 
 mdconfig -a -t swap -s 2g -u $mdstart || exit 1
 
+[ "$newfs_flags" = "-U" ] && [ `jot -r 1 0 1` -eq 1 ] && newfs_flags="-j"
+[ $# -eq 1 ] && newfs_flags="$1" # or use script argument
 newfs $newfs_flags md$mdstart > /dev/null
 
 mount /dev/md$mdstart $mntpoint
@@ -61,8 +66,8 @@ daemon sh -c "(cd ../testcases/swap; ./swap -t 5m -i 20 -l 100 -h)" > /dev/null
 (cd /tmp; /tmp/pageout $f1) &
 sleep .2
 while kill -0 $! 2> /dev/null; do
-	mksnap_ffs $mntpoint $mntpoint/.snap/stress2 &&
-	    rm -f $mntpoint/.snap/stress2
+	rm -f $mntpoint/.snap/stress2
+	mksnap_ffs $mntpoint $mntpoint/.snap/stress2
 done
 while pgrep -q swap; do
 	pkill swap



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