freebsd-dev/cddl/lib
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
..
drti Work around the implementation of LIBRARIES_ONLY. It causes drti.o to 2013-05-07 22:05:57 +00:00
libavl Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
libctf mark that libctf depends upon libz so that if you dlopen libctf, you 2014-03-05 23:37:25 +00:00
libdtrace Remove a duplicate definition. 2014-05-04 03:37:39 +00:00
libnvpair spelling in comments fixup 2013-11-04 19:32:35 +00:00
libumem Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
libuutil Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
libzfs Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
libzfs_core Move common zfs ioctl compatibility functions (userland) into libzfs_compat.c 2013-03-18 09:32:29 +00:00
libzpool Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Bump the version of all non-symbol-versioned shared libraries in 2009-07-19 17:25:24 +00:00