Merge branch 'fix-taskq' into refs/top-bases/fix-branch
This commit is contained in:
commit
1a967e146f
|
@ -1048,10 +1048,7 @@ zio_taskq_dispatch(zio_t *zio, enum zio_taskq_type q, boolean_t cutinline)
|
||||||
{
|
{
|
||||||
spa_t *spa = zio->io_spa;
|
spa_t *spa = zio->io_spa;
|
||||||
zio_type_t t = zio->io_type;
|
zio_type_t t = zio->io_type;
|
||||||
int flags;
|
int flags = TQ_NOSLEEP | (cutinline ? TQ_FRONT : 0);
|
||||||
|
|
||||||
flags = (cutinline ? TQ_FRONT : 0);
|
|
||||||
flags |= ((q == ZIO_TASKQ_INTERRUPT) ? TQ_NOSLEEP : TQ_SLEEP);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we're a config writer or a probe, the normal issue and
|
* If we're a config writer or a probe, the normal issue and
|
||||||
|
|
Loading…
Reference in New Issue