svn commit: r328576 - projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol_thrash

Alan Somers asomers at FreeBSD.org
Tue Jan 30 00:11:36 UTC 2018


Author: asomers
Date: Tue Jan 30 00:11:35 2018
New Revision: 328576
URL: https://svnweb.freebsd.org/changeset/base/328576

Log:
  Remove obsolete code
  
  tests/sys/cddl/zfs/tests/zvol_thrash/zvol_thrash_001_pos.ksh
  	Remove a workaround for some ill-described bug regarding
  	make_dev_credv that was most likely fixed years ago.
  
  Sponsored by:	Spectra Logic Corp

Modified:
  projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol_thrash/zvol_thrash_001_pos.ksh

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol_thrash/zvol_thrash_001_pos.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol_thrash/zvol_thrash_001_pos.ksh	Tue Jan 30 00:10:00 2018	(r328575)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/zvol_thrash/zvol_thrash_001_pos.ksh	Tue Jan 30 00:11:35 2018	(r328576)
@@ -73,15 +73,7 @@ function mk_vols
 {
 	ADISKS=($DISKS)				#Create an array for convenience
 	N_DISKS=${#ADISKS[@]}
-	if test $N_DISKS -ge 8
-	then
-		#Limit number of mirrors to 4.  Using more causes a panic in
-		#make_dev_credv that has nothing to do with ZFS or ZVols.
-		#That will be addressed by a separate test
-		N_MIRRORS=4
-	else
-		N_MIRRORS=$(($N_DISKS / 2 ))
-	fi
+	N_MIRRORS=$(($N_DISKS / 2 ))
 	setup_mirrors $N_MIRRORS $DISKS
 	for pool in `all_pools`; do
 		# Create 4 ZVols per pool.  Write a geom label to each, just so


More information about the svn-src-projects mailing list