diff options
author | pjd <pjd@FreeBSD.org> | 2009-08-17 09:01:20 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2009-08-17 09:01:20 +0000 |
commit | ea8df6fcea7daa26626d5ebfe923d8bafdb0434a (patch) | |
tree | 9ffe4e19c60755bbb3d41be7adb8eb9e85d76ef0 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs | |
parent | 3220ee349be0d1b1fa8d9f4a19b5a763a25f069f (diff) | |
download | FreeBSD-src-ea8df6fcea7daa26626d5ebfe923d8bafdb0434a.zip FreeBSD-src-ea8df6fcea7daa26626d5ebfe923d8bafdb0434a.tar.gz |
Remove OpenSolaris taskq port (it performs very poorly in our kernel) and
replace it with wrappers around our taskqueue(9).
To make it possible implement taskqueue_member() function which returns 1
if the given thread was created by the given taskqueue.
Approved by: re (kib)
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h index 76fdc0d..0dd8f4f 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h @@ -49,6 +49,7 @@ extern "C" { #include <sys/conf.h> #include <sys/mutex.h> #include <sys/rwlock.h> +#include <sys/kcondvar.h> #include <sys/random.h> #include <sys/byteorder.h> #include <sys/systm.h> |