From owner-svn-src-user@freebsd.org Tue May 16 09:21:42 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 396E1D6DC47 for ; Tue, 16 May 2017 09:21:42 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 0C0EB186A; Tue, 16 May 2017 09:21:41 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4G9LfBr030506; Tue, 16 May 2017 09:21:41 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4G9LfXB030505; Tue, 16 May 2017 09:21:41 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201705160921.v4G9LfXB030505@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 16 May 2017 09:21:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r318344 - 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.23 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: Tue, 16 May 2017 09:21:42 -0000 Author: pho Date: Tue May 16 09:21:40 2017 New Revision: 318344 URL: https://svnweb.freebsd.org/changeset/base/318344 Log: Added findings, fixed style. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/nfs15.sh Modified: user/pho/stress2/misc/nfs15.sh ============================================================================== --- user/pho/stress2/misc/nfs15.sh Tue May 16 09:20:23 2017 (r318343) +++ user/pho/stress2/misc/nfs15.sh Tue May 16 09:21:40 2017 (r318344) @@ -38,6 +38,15 @@ # - advisory locking tests on NFS files, while e.g. sending SIGSTOP/SIGCONT # to the test programs. +# See also pthread9.sh + +# https://people.freebsd.org/~pho/stress/log/kostik897.txt +# Fixed in r302013. + +# "panic: mutex sleepq chain not owned at subr_sleepqueue.c:1009" seen: +# https://people.freebsd.org/~pho/stress/log/kostik914.txt +# Fixed in r302328. + [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 . ../default.cfg @@ -55,8 +64,8 @@ cd $here mount | grep "on $mntpoint " | grep nfs > /dev/null && umount $mntpoint -mount -t nfs -o tcp -o retrycnt=3 -o soft -o rw -o nolockd -o intr \ - $nfs_export $mntpoint +mount -t nfs -o tcp -o retrycnt=3 -o intr,soft -o rw -o nolockd \ + $nfs_export $mntpoint || exit 1 sleep 2 wd=$mntpoint/nfs15.dir rm -rf $wd @@ -114,7 +123,8 @@ t2(void *data __unused) for (i = 0; i < 100; i++) { atomic_add_int(&share[SYNC], 1); snprintf(file, sizeof(file), "file.%06d", i); - if ((fd = open(file, O_WRONLY | O_CREAT | O_APPEND, DEFFILEMODE)) == -1) + if ((fd = open(file, O_WRONLY | O_CREAT | O_APPEND, + DEFFILEMODE)) == -1) err(1, "open(%s)", file); do { r = lockf(fd, F_LOCK, 0);