From owner-svn-src-user@FreeBSD.ORG Sun Feb 8 09:30:16 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 B8D92E09; Sun, 8 Feb 2015 09:30:16 +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 A50DE120; Sun, 8 Feb 2015 09:30:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t189UGZU053737; Sun, 8 Feb 2015 09:30:16 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t189UG8s053736; Sun, 8 Feb 2015 09:30:16 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201502080930.t189UG8s053736@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Feb 2015 09:30:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r278375 - 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: Sun, 08 Feb 2015 09:30:16 -0000 Author: pho Date: Sun Feb 8 09:30:15 2015 New Revision: 278375 URL: https://svnweb.freebsd.org/changeset/base/278375 Log: Added findings, speed up the hunt for the fsx source and poll for fsx termination. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/umountf2.sh Modified: user/pho/stress2/misc/umountf2.sh ============================================================================== --- user/pho/stress2/misc/umountf2.sh Sun Feb 8 09:28:55 2015 (r278374) +++ user/pho/stress2/misc/umountf2.sh Sun Feb 8 09:30:15 2015 (r278375) @@ -32,15 +32,19 @@ # Test problems with "umount -f and fsx. Results in a "KDB: enter: watchdog timeout" +# http://people.freebsd.org/~pho/stress/log/kostik745.txt +# Fixed by r275743 + [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 -fsxc=`find -x / /usr/src -name fsx.c | tail -1` +. ../default.cfg + +fsxc=`find -x /usr/src -name fsx.c | tail -1` +[ -z "$fsxc" ] && fsxc=`find -x / -name fsx.c | tail -1` [ -z "$fsxc" ] && exit cc -o /tmp/fsx $fsxc -. ../default.cfg - D=$diskimage dede $D 1m 1k || exit 1 @@ -55,10 +59,14 @@ sleep 5 for i in `jot 100`; do /tmp/fsx -S $i -q ${mntpoint}/xxx$i > /dev/null & done -sleep 30 +sleep 30 umount -f $mntpoint & -sleep 300 -killall fsx +for i in `jot 10`; do + sleep 30 + pgrep -q fsx || break +done +pgrep -q fsx && echo FAIL && pkill fsx sleep 5 +wait mdconfig -d -u $mdstart rm -f $D /tmp/fsx