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

Peter Holm pho at FreeBSD.org
Tue Feb 17 09:34:49 UTC 2015


Author: pho
Date: Tue Feb 17 09:34:48 2015
New Revision: 278892
URL: https://svnweb.freebsd.org/changeset/base/278892

Log:
  Change name of snapshot file.
  
  Sponsored by:	 EMC / Isilon storage division

Modified:
  user/pho/stress2/misc/quota3.sh
  user/pho/stress2/misc/recursiveflushes.sh

Modified: user/pho/stress2/misc/quota3.sh
==============================================================================
--- user/pho/stress2/misc/quota3.sh	Tue Feb 17 09:31:58 2015	(r278891)
+++ user/pho/stress2/misc/quota3.sh	Tue Feb 17 09:34:48 2015	(r278892)
@@ -48,7 +48,7 @@ mount ${mntpoint}
 edquota -u -f $mntpoint -e $mntpoint:850000:900000:130000:140000 root
 quotacheck $mntpoint
 quotaon $mntpoint
-mksnap_ffs $mntpoint $mntpoint/.snap/pho
+mksnap_ffs $mntpoint $mntpoint/.snap/stress2
 export RUNDIR=$mntpoint/stressX
 export runRUNTIME=10m            # Run tests for 10 minutes
 (cd ..; ./run.sh disk.cfg)

Modified: user/pho/stress2/misc/recursiveflushes.sh
==============================================================================
--- user/pho/stress2/misc/recursiveflushes.sh	Tue Feb 17 09:31:58 2015	(r278891)
+++ user/pho/stress2/misc/recursiveflushes.sh	Tue Feb 17 09:34:48 2015	(r278892)
@@ -50,12 +50,12 @@ mount /dev/md${mdstart}$part $mntpoint
 
 old=`sysctl vfs.recursiveflushes | awk '{print $NF}'`
 cd $mntpoint
-rm -f $mntpoint/.snap/pho.*
-snap $mntpoint $mntpoint/.snap/pho.1
-snap $mntpoint $mntpoint/.snap/pho.2
-snap $mntpoint $mntpoint/.snap/pho.3
-snap $mntpoint $mntpoint/.snap/pho.4
-snap $mntpoint $mntpoint/.snap/pho.5
+rm -f $mntpoint/.snap/stress2.*
+snap $mntpoint $mntpoint/.snap/stress2.1
+snap $mntpoint $mntpoint/.snap/stress2.2
+snap $mntpoint $mntpoint/.snap/stress2.3
+snap $mntpoint $mntpoint/.snap/stress2.4
+snap $mntpoint $mntpoint/.snap/stress2.5
 
 for i in `jot 32`; do
    # Create 32 Mb files
@@ -68,7 +68,7 @@ for i in `jot 32`; do
    rm -f big.$i
 done
 
-rm -f $mntpoint/.snap/pho.*
+rm -f $mntpoint/.snap/stress2.*
 new=`sysctl vfs.recursiveflushes | awk '{print $NF}'`
 [ $old != $new ] && echo "vfs.recursiveflushes changed from $old to $new"
 


More information about the svn-src-user mailing list