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 /module/zfs/zfeature.c | |
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 'module/zfs/zfeature.c')
0 files changed, 0 insertions, 0 deletions