mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	 13d9a004fe
			
		
	
	
		13d9a004fe
		
	
	
	
	
		
			
			When creating and destroying pools in tight loop it's possible to exhaust the number of allowed threads on a system. This results in taskq_create() failling and a NULL dereference. Resolve the issue by falling back to opening the vdevs all synchronously. Reviewed-by: Denys Rtveliashvili <denys@rtveliashvili.name> Reviewed-by: Håkan Johansson <f96hajo@chalmers.se> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes zfsonlinux/spl#521 Closes #4637
		
			
				
	
	
		
			131 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			131 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| export AWK="@AWK@"
 | |
| export BLOCKDEV="@BLOCKDEV@"
 | |
| export BASENAME="@BASENAME@"
 | |
| export BC="@BC@"
 | |
| export BUNZIP2="@BUNZIP2@"
 | |
| export BZCAT="@BZCAT@"
 | |
| export CAT="@CAT@"
 | |
| export CD="@CD@"
 | |
| export CHACL="@CHACL@"
 | |
| export CHGRP="@CHGRP@"
 | |
| export CHMOD="@CHMOD@"
 | |
| export CHOWN="@CHOWN@"
 | |
| export CKSUM="@CKSUM@"
 | |
| export CMP="@CMP@"
 | |
| export COMPRESS="@COMPRESS@"
 | |
| export COREADM="@COREADM@"
 | |
| export CP="@CP@"
 | |
| export CPIO="@CPIO@"
 | |
| export CUT="@CUT@"
 | |
| export DATE="@DATE@"
 | |
| export DD="@DD@"
 | |
| export DF="@DF@"
 | |
| export DIFF="@DIFF@"
 | |
| export DIRCMP="@DIRCMP@"
 | |
| export DIRNAME="@DIRNAME@"
 | |
| export DU="@DU@"
 | |
| export DUMPADM="@DUMPADM@"
 | |
| export ECHO="@ECHO@"
 | |
| export EGREP="@EGREP@"
 | |
| export FALSE="@FALSE@"
 | |
| export FDISK="@FDISK@"
 | |
| export FGREP="@FGREP@"
 | |
| export FILE="@FILE@"
 | |
| export FIND="@FIND@"
 | |
| export FIO="@FIO@"
 | |
| export FORMAT="@FORMAT@"
 | |
| export FREE="@FREE@"
 | |
| export FSCK="@FSCK@"
 | |
| export GETENT="@GETENT@"
 | |
| export GETFACL="@GETFACL@"
 | |
| export GETMAJOR="@GETMAJOR@"
 | |
| export GNUDD="@GNUDD@"
 | |
| export GREP="@GREP@"
 | |
| export GROUPADD="@GROUPADD@"
 | |
| export GROUPDEL="@GROUPDEL@"
 | |
| export GROUPMOD="@GROUPMOD@"
 | |
| export HEAD="@HEAD@"
 | |
| export HOSTNAME="@HOSTNAME@"
 | |
| export ID="@ID@"
 | |
| export IOSTAT="@IOSTAT@"
 | |
| export ISAINFO="@ISAINFO@"
 | |
| export KILL="@KILL@"
 | |
| export KSH="@KSH@"
 | |
| export KSTAT="@KSTAT@"
 | |
| export LOCKFS="@LOCKFS@"
 | |
| export LOFIADM="@LOFIADM@"
 | |
| export LOGNAME="@LOGNAME@"
 | |
| export LS="@LS@"
 | |
| export LSBLK="@LSBLK@"
 | |
| export MD5SUM="@MD5SUM@"
 | |
| export MKDIR="@MKDIR@"
 | |
| export MKNOD="@MKNOD@"
 | |
| export MKTEMP="@MKTEMP@"
 | |
| export MNTTAB="@MNTTAB@"
 | |
| export MODINFO="@MODINFO@"
 | |
| export MODUNLOAD="@MODUNLOAD@"
 | |
| export MOUNT="@MOUNT@"
 | |
| export MPSTAT="@MPSTAT@"
 | |
| export MV="@MV@"
 | |
| export NAWK="@AWK@"
 | |
| export NEWFS="@NEWFS@"
 | |
| export NPROC="@NPROC@"
 | |
| export PAGESIZE="@PAGESIZE@"
 | |
| export PFEXEC="@PFEXEC@"
 | |
| export PGREP="@PGREP@"
 | |
| export PING="@PING@"
 | |
| export PKGINFO="@PKGINFO@"
 | |
| export PKILL="@PKILL@"
 | |
| export PRINTF="@PRINTF@"
 | |
| export PRTVTOC="@PRTVTOC@"
 | |
| export PS="@PS@"
 | |
| export PSRINFO="@PSRINFO@"
 | |
| export PYTHON="@PYTHON@"
 | |
| export READLINK="@READLINK@"
 | |
| export REBOOT="@REBOOT@"
 | |
| export RM="@RM@"
 | |
| export RMDIR="@RMDIR@"
 | |
| export RSH="@RSH@"
 | |
| export SED="@SED@"
 | |
| export SETFACL="@SETFACL@"
 | |
| export SHARE="@SHARE@"
 | |
| export SHUF="@SHUF@"
 | |
| export SLEEP="@SLEEP@"
 | |
| export SORT="@SORT@"
 | |
| export STAT="@STAT@"
 | |
| export STRINGS="@STRINGS@"
 | |
| export SU="@SU@"
 | |
| export SUM="@SUM@"
 | |
| export SVCADM="@SVCADM@"
 | |
| export SVCS="@SVCS@"
 | |
| export SWAP="@SWAP@"
 | |
| export SWAPADD="@SWAPADD@"
 | |
| export SYNC="@SYNC@"
 | |
| export TAIL="@TAIL@"
 | |
| export TAR="@TAR@"
 | |
| export TIMEOUT="@TIMEOUT@"
 | |
| export TOUCH="@TOUCH@"
 | |
| export TR="@TR@"
 | |
| export TRUNCATE="@TRUNCATE@"
 | |
| export TRUE="@TRUE@"
 | |
| export UDEVADM="@UDEVADM@"
 | |
| export UFSDUMP="@UFSDUMP@"
 | |
| export UFSRESTORE="@UFSRESTORE@"
 | |
| export UMASK="@UMASK@"
 | |
| export UMOUNT="@UMOUNT@"
 | |
| export UMOUNTALL="@UMOUNTALL@"
 | |
| export UNAME="@UNAME@"
 | |
| export UNCOMPRESS="@UNCOMPRESS@"
 | |
| export UNIQ="@UNIQ@"
 | |
| export UNSHARE="@UNSHARE@"
 | |
| export USERADD="@USERADD@"
 | |
| export USERDEL="@USERDEL@"
 | |
| export USERMOD="@USERMOD@"
 | |
| export UUIDGEN="@UUIDGEN@"
 | |
| export VMSTAT="@VMSTAT@"
 | |
| export WAIT="@WAIT@"
 | |
| export WC="@WC@"
 | |
| export ZONEADM="@ZONEADM@"
 | |
| export ZONECFG="@ZONECFG@"
 | |
| export ZONENAME="@ZONENAME@"
 |