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 Add FreeBSD IDs to files that originate in FreeBSD. 2008-04-22 07:43:00 +00:00
dtrace.h Add Solaris compatibility definitions for things we don't really want in 2008-05-21 00:26:38 +00:00
fcntl.h Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00
fsshare.h
libintl.h Add FreeBSD IDs to files that originate in FreeBSD. 2008-04-22 07:43:00 +00:00
libproc.h Add Solaris compatibility definitions for things we don't really want in 2008-05-21 00:26:38 +00:00
libshare.h Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
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 Add FreeBSD IDs to files that originate in FreeBSD. 2008-04-22 07:43:00 +00:00