Date: Sat, 28 Feb 2015 20:03:53 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r279403 - user/pho/stress2/misc Message-ID: <201502282003.t1SK3rNn057620@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Sat Feb 28 20:03:52 2015 New Revision: 279403 URL: https://svnweb.freebsd.org/changeset/base/279403 Log: Cleanup script and document new problem found and fixed. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/fdescfs.sh Modified: user/pho/stress2/misc/fdescfs.sh ============================================================================== --- user/pho/stress2/misc/fdescfs.sh Sat Feb 28 20:02:41 2015 (r279402) +++ user/pho/stress2/misc/fdescfs.sh Sat Feb 28 20:03:52 2015 (r279403) @@ -28,17 +28,19 @@ # $FreeBSD$ # -# +# Page fault seen in fdesc_allocvp+0x8f: +# http://people.freebsd.org/~pho/stress/log/fdescfs-2.txt +# Fixed by r279401 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 . ../default.cfg mounts=15 # Number of parallel scripts -mdstart=$mdstart # Use md unit numbers from this point -D=$diskimage +cont=/tmp/fdescfs.continue if [ $# -eq 0 ]; then + touch $cont # start the parallel tests for i in `jot $mounts`; do [ -d ${mntpoint}$i ] || mkdir -p ${mntpoint}$i @@ -55,17 +57,19 @@ else exec 7< /dev/zero exec 8< /dev/zero exec 9< /dev/zero - for i in `jot 128`; do + while [ -r $cont ]; do ls -l ${mntpoint}* > /dev/null 2>&1 done else # The test: Parallel mount and unmounts - for i in `jot 128`; do + start=`date '+%s'` + while [ `date '+%s'` -lt $((start + 300)) ]; do mount -t fdescfs null ${mntpoint}$1 while mount | grep -wq ${mntpoint}$1; do umount -f ${mntpoint}$1 > /dev/null 2>&1 done done + rm -f $cont fi fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502282003.t1SK3rNn057620>