Merge branch 'fix-taskq' into refs/top-bases/fix-branch

This commit is contained in:
Brian Behlendorf 2010-08-02 13:21:51 -07:00
commit bb064e0220
1 changed files with 3 additions and 2 deletions

View File

@ -1072,8 +1072,9 @@ zio_taskq_dispatch(zio_t *zio, enum zio_taskq_type q, boolean_t cutinline)
q++;
ASSERT3U(q, <, ZIO_TASKQ_TYPES);
(void) taskq_dispatch(spa->spa_zio_taskq[t][q],
(task_func_t *)zio_execute, zio, flags);
while (taskq_dispatch(spa->spa_zio_taskq[t][q],
(task_func_t *)zio_execute, zio, flags) == 0); /* do nothing */
}
static boolean_t