freebsd-skq/cddl/compat/opensolaris/misc
mav 058b9b78b9 MFC r265689:
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-24 10:44:40 +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 MFC r265689: 2014-05-24 10:44:40 +00:00
thread_pool.c MFC r265689: 2014-05-24 10:44:40 +00:00
zmount.c Don't pass empty mount options to nmount(2). 2011-05-03 16:00:26 +00:00
zone.c