svn commit: r337450 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Wed Aug 8 07:31:07 UTC 2018


Author: pho
Date: Wed Aug  8 07:31:06 2018
New Revision: 337450
URL: https://svnweb.freebsd.org/changeset/base/337450

Log:
  Make sure mount point names does not conflict with other use.
  Add problem found.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/misc/pfl2.sh

Modified: user/pho/stress2/misc/pfl2.sh
==============================================================================
--- user/pho/stress2/misc/pfl2.sh	Wed Aug  8 07:28:28 2018	(r337449)
+++ user/pho/stress2/misc/pfl2.sh	Wed Aug  8 07:31:06 2018	(r337450)
@@ -34,15 +34,17 @@
 # "panic: softdep_write_inodeblock: indirect pointer #0 mismatch ..." seen.
 # http://people.freebsd.org/~pho/stress/log/kirk063.txt
 
+# https://people.freebsd.org/~pho/stress/log/kirk080.txt
+
 . ../default.cfg
 
 [ `swapinfo | wc -l` -eq 1 ] && exit 0
 
-mp1=$mntpoint
-mp2=${mntpoint}2
-[ -d $mp2 ] || mkdir -p $mp2
 md1=$mdstart
 md2=$((mdstart + 1))
+mp1=${mntpoint}$md1
+mp2=${mntpoint}$md2
+mkdir -p $mp1 $mp2
 
 usermem=`sysctl -n hw.usermem`
 size=$((2 * 1024 * 1024 * 1024))	# Ideal disk size is 2G


More information about the svn-src-user mailing list