Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion usr/src/lib/libfakekernel/common/mapfile-vers
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ SYMBOL_VERSION SUNWprivate_1.1 {
taskq_dispatch;
taskq_dispatch_ent;
taskq_empty;
taskq_init_ent;
taskq_member;
taskq_empty;
taskq_wait;
taskq_wait_id;

Expand Down
1 change: 1 addition & 0 deletions usr/src/lib/libfakekernel/common/sys/taskq_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ typedef struct taskq_ent {

/* Special form of taskq dispatch that uses preallocated entries. */
void taskq_dispatch_ent(taskq_t *, task_func_t, void *, uint_t, taskq_ent_t *);
void taskq_init_ent(taskq_ent_t *);

#ifdef __cplusplus
}
Expand Down
6 changes: 6 additions & 0 deletions usr/src/lib/libfakekernel/common/taskq.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t tqflags)
return (1);
}

void
taskq_init_ent(taskq_ent_t *tqe)
{
tqe->tqent_flags = 0;
}

void
taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags,
taskq_ent_t *t)
Expand Down
1 change: 1 addition & 0 deletions usr/src/lib/libzpool/common/sys/zfs_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ extern vnode_t *rootdir;

#define minclsyspri 60
#define maxclsyspri 99
#define defclsyspri minclsyspri

#if (GCC_VERSION >= 302) || (__INTEL_COMPILER >= 800) || defined(__clang__)
#define _zfs_expect(expr, value) (__builtin_expect((expr), (value)))
Expand Down
Loading