freebsd-dev/cddl/compat/opensolaris/include
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
..
alloca.h
assert.h Remove C constructs that are incompatible with C++ from various 2011-06-10 20:10:30 +00:00
devid.h
dtrace.h
fcntl.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
fsshare.h
libintl.h
libproc.h
libshare.h
mnttab.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
priv.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
sha2.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
solaris.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
stdio.h
stdlib.h GNU/kFreeBSD portability fix. This glue <stdlib.h> overrides header protection 2012-04-30 23:12:16 +00:00
strings.h
thread_pool.h Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
unistd.h
zone.h