From owner-svn-src-user@freebsd.org Mon Sep 25 11:38:59 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 D80CBE1158C for ; Mon, 25 Sep 2017 11:38:59 +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 9E535773D8; Mon, 25 Sep 2017 11:38:59 +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 v8PBcww6016600; Mon, 25 Sep 2017 11:38:58 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8PBcw2e016597; Mon, 25 Sep 2017 11:38:58 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201709251138.v8PBcw2e016597@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Mon, 25 Sep 2017 11:38:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r323984 - user/pho/stress2/misc X-SVN-Group: user X-SVN-Commit-Author: pho X-SVN-Commit-Paths: user/pho/stress2/misc X-SVN-Commit-Revision: 323984 X-SVN-Commit-Repository: base 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: Mon, 25 Sep 2017 11:39:00 -0000 Author: pho Date: Mon Sep 25 11:38:58 2017 New Revision: 323984 URL: https://svnweb.freebsd.org/changeset/base/323984 Log: Return fsck(1) status. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/trim.sh user/pho/stress2/misc/trim2.sh user/pho/stress2/misc/trim3.sh Modified: user/pho/stress2/misc/trim.sh ============================================================================== --- user/pho/stress2/misc/trim.sh Mon Sep 25 02:06:51 2017 (r323983) +++ user/pho/stress2/misc/trim.sh Mon Sep 25 11:38:58 2017 (r323984) @@ -64,9 +64,8 @@ for flag in ' ' $opt; do umount $mntpoint && break || sleep 10 done [ $i -eq 6 ] && { s=1; break; } - checkfs /dev/md${mdstart}$part + checkfs /dev/md${mdstart}$part || s=1 mdconfig -d -u $mdstart done -rm -f /tmp/fsck.log [ $malloc_wait != 1 ] && sysctl vm.md_malloc_wait=$malloc_wait exit $s Modified: user/pho/stress2/misc/trim2.sh ============================================================================== --- user/pho/stress2/misc/trim2.sh Mon Sep 25 02:06:51 2017 (r323983) +++ user/pho/stress2/misc/trim2.sh Mon Sep 25 11:38:58 2017 (r323984) @@ -54,10 +54,8 @@ while mount | grep $mntpoint | grep -q /dev/md; do umount $mntpoint || sleep 1 done -grep -a -qm1 Trim /dev/md${mdstart}$part && echo "Test failed" +grep -a -qm1 Trim /dev/md${mdstart}$part && { echo "Test failed"; s=1; } -fsck -t ufs -y /dev/md${mdstart}$part 2>&1 | tee /tmp/fsck.log | \ - grep -v "IS CLEAN" | egrep -q -m1 "[A-Z][A-Z]" && \ - cat /tmp/fsck.log +checkfs /dev/md${mdstart}$part; s=$? mdconfig -d -u $mdstart -rm -f /tmp/fsck.log +exit $s Modified: user/pho/stress2/misc/trim3.sh ============================================================================== --- user/pho/stress2/misc/trim3.sh Mon Sep 25 02:06:51 2017 (r323983) +++ user/pho/stress2/misc/trim3.sh Mon Sep 25 11:38:58 2017 (r323984) @@ -62,6 +62,7 @@ for flag in ' ' $opt; do while mount | grep $mntpoint | grep -q /dev/md; do umount $mntpoint || sleep 1 done - checkfs /dev/md${mdstart}$part + checkfs /dev/md${mdstart}$part; s=$? mdconfig -d -u $mdstart done +exit $s From owner-svn-src-user@freebsd.org Tue Sep 26 12:46:19 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 2BEA7E09D40 for ; Tue, 26 Sep 2017 12:46:19 +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 EE2516491F; Tue, 26 Sep 2017 12:46:18 +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 v8QCkI1u043095; Tue, 26 Sep 2017 12:46:18 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8QCkIrA043094; Tue, 26 Sep 2017 12:46:18 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201709261246.v8QCkIrA043094@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 26 Sep 2017 12:46:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r324015 - user/pho/stress2/misc X-SVN-Group: user X-SVN-Commit-Author: pho X-SVN-Commit-Paths: user/pho/stress2/misc X-SVN-Commit-Revision: 324015 X-SVN-Commit-Repository: base 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, 26 Sep 2017 12:46:19 -0000 Author: pho Date: Tue Sep 26 12:46:17 2017 New Revision: 324015 URL: https://svnweb.freebsd.org/changeset/base/324015 Log: Limit runtime. Return fsck(8) status. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/newfs3.sh Modified: user/pho/stress2/misc/newfs3.sh ============================================================================== --- user/pho/stress2/misc/newfs3.sh Tue Sep 26 12:15:13 2017 (r324014) +++ user/pho/stress2/misc/newfs3.sh Tue Sep 26 12:46:17 2017 (r324015) @@ -46,6 +46,7 @@ opt="-O2" # newfs option. Eg. -U mount | grep "$mntpoint" | grep -q md${mdstart}$part && umount $mntpoint [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart +s=0 while [ $size -le $((128 * 1024 * 1024)) ]; do mb=$((size / 1024 / 1024)) rm -f $diskimage @@ -65,11 +66,15 @@ while [ $size -le $((128 * 1024 * 1024)) ]; do export runRUNTIME=15s export RUNTIME=$runRUNTIME export CTRLDIR=$mntpoint/stressX.control - (cd ..; ./run.sh disk.cfg) > /dev/null + (cd ..; ./run.sh disk.cfg) > /dev/null 2>&1 & + sleep 15 + ../tools/killall.sh + wait while mount | grep "$mntpoint" | \ grep -q md${mdstart}$part; do umount $mntpoint > /dev/null 2>&1 done + checkfs /dev/md${mdstart}$part || s=1 done blocksize=$((blocksize * 2)) done @@ -77,3 +82,4 @@ while [ $size -le $((128 * 1024 * 1024)) ]; do size=$((size + 32 * 1024 * 1024)) done rm -f $diskimage +return $s From owner-svn-src-user@freebsd.org Sat Sep 30 12:06:23 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 3F7ACE26B70 for ; Sat, 30 Sep 2017 12:06:23 +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 0EBFA6E762; Sat, 30 Sep 2017 12:06:22 +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 v8UC6MDm026550; Sat, 30 Sep 2017 12:06:22 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8UC6Mpi026549; Sat, 30 Sep 2017 12:06:22 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201709301206.v8UC6Mpi026549@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sat, 30 Sep 2017 12:06:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r324121 - user/pho/stress2/misc X-SVN-Group: user X-SVN-Commit-Author: pho X-SVN-Commit-Paths: user/pho/stress2/misc X-SVN-Commit-Revision: 324121 X-SVN-Commit-Repository: base 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: Sat, 30 Sep 2017 12:06:23 -0000 Author: pho Date: Sat Sep 30 12:06:21 2017 New Revision: 324121 URL: https://svnweb.freebsd.org/changeset/base/324121 Log: Added comment on how to repeat. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/mmap28.sh Modified: user/pho/stress2/misc/mmap28.sh ============================================================================== --- user/pho/stress2/misc/mmap28.sh Sat Sep 30 11:45:33 2017 (r324120) +++ user/pho/stress2/misc/mmap28.sh Sat Sep 30 12:06:21 2017 (r324121) @@ -37,6 +37,7 @@ # whereas this test runs as expected on r292372. # https://people.freebsd.org/~pho/stress/log/mmap28-2.txt # https://people.freebsd.org/~pho/stress/log/mmap28-3.txt +# To repeat, run this test with "sysctl vfs.ffs.use_buf_pager=0". # Fixed by r307626 # Test scenario refinement by kib@