mirror_zfs/tests/zfs-tests
Brian Behlendorf 13d9a004fe 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 <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
2016-10-24 13:28:58 -07:00
..
cmd Fix coverity defects: CID 49339, 153393 2016-10-18 10:31:57 -07:00
include Fix taskq creation failure in vdev_open_children() 2016-10-24 13:28:58 -07:00
tests Fix taskq creation failure in vdev_open_children() 2016-10-24 13:28:58 -07:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00