svn commit: r254682 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Fri Aug 23 08:20:39 UTC 2013
Author: pho
Date: Fri Aug 23 08:20:39 2013
New Revision: 254682
URL: http://svnweb.freebsd.org/changeset/base/254682
Log:
Delete unused lines from copy/paste.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/misc/tmpfs2.sh
Modified: user/pho/stress2/misc/tmpfs2.sh
==============================================================================
--- user/pho/stress2/misc/tmpfs2.sh Fri Aug 23 07:39:32 2013 (r254681)
+++ user/pho/stress2/misc/tmpfs2.sh Fri Aug 23 08:20:39 2013 (r254682)
@@ -25,7 +25,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: crossmp.sh,v 1.2 2008/02/25 16:31:43 pho Exp $
+# $FreeBSD$
#
# panic: vfs_mount_destroy: nonzero writeopcount, seen.
@@ -35,20 +35,11 @@
. ../default.cfg
mounts=15 # Number of parallel scripts
-mdstart=$MDSTART # Use md unit numbers from this point
-D=$DISKIMAGE
if [ $# -eq 0 ]; then
- for i in `jot $mounts`; do
- m=$(( i + mdstart - 1 ))
- [ ! -d ${mntpoint}$m ] && mkdir ${mntpoint}$m
- mount | grep "$mntpoint" | grep -q md$m && umount ${mntpoint}$m
- done
-
# start the parallel tests
for i in `jot $mounts`; do
- m=$(( i + mdstart - 1 ))
- ./$0 $m &
+ ./$0 $i &
./$0 find &
done
@@ -70,7 +61,6 @@ else
mount -t tmpfs tmpfs ${mntpoint}$m
cp -r /usr/include/machine/a* ${mntpoint}$m
while mount | grep -qw $mntpoint$m; do
- opt=$([ $((`date '+%s'` % 2)) -eq 0 ] && echo "-f")
umount $opt ${mntpoint}$m > /dev/null 2>&1
done
done
More information about the svn-src-user
mailing list