From owner-svn-src-user@FreeBSD.ORG Sat Feb 28 20:03:53 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBD33A9; Sat, 28 Feb 2015 20:03:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7C80177; Sat, 28 Feb 2015 20:03:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1SK3rbx057621; Sat, 28 Feb 2015 20:03:53 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1SK3rNn057620; Sat, 28 Feb 2015 20:03:53 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502282003.t1SK3rNn057620@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sat, 28 Feb 2015 20:03:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r279403 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 20:03:53 -0000 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