freebsd-skq/cddl/compat/opensolaris/misc
Alexander Motin afb8674c79 Import adapted OpenSolaris' thread pool API implementation.
The thread pool is used by libzfs to implement parallel disk scanning.
Without this change our dummy wrapper made `zpool import ZZZ` command to
scan all disks sequentially from the single thread when searching for pools.
This change makes it use two threads per CPU, same as in OpenSolaris.

On system with 200 HDDs this change reduces ZFS pool import time from 35
to 22 seconds.
2014-05-08 16:59:36 +00:00
..
deviceid.c Fix an obvious typo. 2012-07-04 17:36:26 +00:00
fsshare.c Close a race between libzfs and mountd when updating NFS exports. 2011-05-26 16:27:00 +00:00
mkdirp.c
mnttab.c
thread_pool_impl.h Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
thread_pool.c Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
zmount.c Don't pass empty mount options to nmount(2). 2011-05-03 16:00:26 +00:00
zone.c