diff options
author | Brian Behlendorf <[email protected]> | 2016-10-24 13:28:58 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2016-10-24 13:28:58 -0700 |
commit | 13d9a004fe533df8613888687650b1b0e272b67d (patch) | |
tree | aaf12080a8ab4083e61fa78b35181853bd8c90b7 /config | |
parent | 1bbd8770490f0e5b8c575865ab70f6853bca2a2a (diff) |
Fix taskq creation failure in vdev_open_children()
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 <[email protected]>
Reviewed-by: HÃ¥kan Johansson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes zfsonlinux/spl#521
Closes #4637
Diffstat (limited to 'config')
-rw-r--r-- | config/user-commands.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/user-commands.m4 b/config/user-commands.m4 index 6e9c3d103..d53bec4ff 100644 --- a/config/user-commands.m4 +++ b/config/user-commands.m4 @@ -89,6 +89,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_COMMANDS_COMMON], [ AC_PATH_TOOL(USERADD, useradd, "/usr/sbin/useradd") AC_PATH_TOOL(USERDEL, userdel, "/usr/sbin/userdel") AC_PATH_TOOL(USERMOD, usermod, "/usr/sbin/usermod") + AC_PATH_TOOL(UUIDGEN, uuidgen, "") AC_PATH_TOOL(WAIT, wait, "wait") dnl # Builtin in bash AC_PATH_TOOL(WC, wc, "") ]) |