svn commit: r307630 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Wed Oct 19 12:34:00 UTC 2016


Author: pho
Date: Wed Oct 19 12:33:58 2016
New Revision: 307630
URL: https://svnweb.freebsd.org/changeset/base/307630

Log:
  Added missing cleanup.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/misc/mmap24.sh
  user/pho/stress2/misc/mmap29.sh

Modified: user/pho/stress2/misc/mmap24.sh
==============================================================================
--- user/pho/stress2/misc/mmap24.sh	Wed Oct 19 12:23:02 2016	(r307629)
+++ user/pho/stress2/misc/mmap24.sh	Wed Oct 19 12:33:58 2016	(r307630)
@@ -63,6 +63,7 @@ wait
 while mount | grep "on $mntpoint " | grep -q /dev/md; do
 	umount $mntpoint || sleep 1
 done
+mdconfig -d -u $mdstart
 
 rm -f /tmp/mmap24
 exit

Modified: user/pho/stress2/misc/mmap29.sh
==============================================================================
--- user/pho/stress2/misc/mmap29.sh	Wed Oct 19 12:23:02 2016	(r307629)
+++ user/pho/stress2/misc/mmap29.sh	Wed Oct 19 12:33:58 2016	(r307630)
@@ -68,5 +68,6 @@ timeout 60 find / -xdev -print >/dev/nul
 while mount | grep "on $mntpoint " | grep -q /dev/md; do
 	umount $mntpoint || sleep 1
 done
+mdconfig -d -u $mdstart
 rm mmap29
 exit 0


More information about the svn-src-user mailing list