diff options
author | Brian Behlendorf <[email protected]> | 2010-06-21 10:19:44 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-06-21 10:19:44 -0700 |
commit | 438683c0a9c9a045106f27aca85dc1855d926497 (patch) | |
tree | 6551002c78a36f463b09f317e7838fb4e8e0449b /module/spl | |
parent | 3cb77549d1bbfd246e6321d8fe34dce480f31eda (diff) |
Revert "Support TQ_FRONT flag used by taskq_dispatch()"
This reverts commit eb12b3782c94113d2d40d2da22265dc4111a672b.
Diffstat (limited to 'module/spl')
-rw-r--r-- | module/spl/spl-taskq.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/module/spl/spl-taskq.c b/module/spl/spl-taskq.c index fba38021f..805749a14 100644 --- a/module/spl/spl-taskq.c +++ b/module/spl/spl-taskq.c @@ -274,13 +274,7 @@ __taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) GOTO(out, rc = 0); spin_lock(&t->t_lock); - - /* Queue to the head instead of the tail */ - if (flags & TQ_FRONT) - list_add(&t->t_list, &tq->tq_pend_list); - else - list_add_tail(&t->t_list, &tq->tq_pend_list); - + list_add_tail(&t->t_list, &tq->tq_pend_list); t->t_id = rc = tq->tq_next_id; tq->tq_next_id++; t->t_func = func; |