Date: Thu, 13 Dec 2018 11:49:12 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r342043 - user/pho/stress2/misc Message-ID: <201812131149.wBDBnCHk040057@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Thu Dec 13 11:49:12 2018 New Revision: 342043 URL: https://svnweb.freebsd.org/changeset/base/342043 Log: Try harder to unmount the FS. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/extattr2.sh Modified: user/pho/stress2/misc/extattr2.sh ============================================================================== --- user/pho/stress2/misc/extattr2.sh Thu Dec 13 11:18:45 2018 (r342042) +++ user/pho/stress2/misc/extattr2.sh Thu Dec 13 11:49:12 2018 (r342043) @@ -82,7 +82,12 @@ done wait s=0 -umount $mntpoint +for i in `jot 6`; do + mount | grep -q "on $mntpoint " || break + umount $mntpoint && break || sleep 10 + [ $i -eq 6 ] && + { echo FAIL; fstat -mf $mntpoint; exit 1; } +done checkfs /dev/md${mdstart}$part || s=1 mdconfig -d -u $mdstart || s=2 exit $s
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812131149.wBDBnCHk040057>