diff options
Diffstat (limited to 'tools/test/stress2/misc/overcommit.sh')
-rwxr-xr-x | tools/test/stress2/misc/overcommit.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/overcommit.sh b/tools/test/stress2/misc/overcommit.sh index 40f60a32f4af..319cd1ee2192 100755 --- a/tools/test/stress2/misc/overcommit.sh +++ b/tools/test/stress2/misc/overcommit.sh @@ -44,9 +44,8 @@ sysctl vm.overcommit=1 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 2g -u $mdstart -bsdlabel -w md$mdstart auto -newfs $newfs_flags md${mdstart}$part > /dev/null -mount /dev/md${mdstart}$part $mntpoint +newfs $newfs_flags md$mdstart > /dev/null +mount /dev/md$mdstart $mntpoint chmod 777 $mntpoint export runRUNTIME=10m |