zfs/module
Ricardo M. Correia 4ca4dfe9bb Fix taskq_dispatch() call in zio_taskq_dispatch().
The feature branch 'fix-taskq' in Linux's ZFS tree changes the taskq_dispatch()
flag from TQ_SLEEP to TQ_NOSLEEP to avoid sleeping in some circumstances.

However, this has the side effect that taskq_dispatch() now may fail, and since
the return code was not even being checked, it could lead to zio's not being
scheduled to execute.

I'm fixing this in a simplistic but not very elegant way, by just looping until
taskq_dispatch() succeeds.

Signed-off-by: Ricardo M. Correia <ricardo.correia@oracle.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-02 13:12:54 -07:00
..
avl Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
nvpair Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
unicode Add unicode library 2009-01-05 12:03:23 -08:00
zcommon Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
zfs Fix taskq_dispatch() call in zio_taskq_dispatch(). 2010-08-02 13:12:54 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00