4ca4dfe9bb
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> |
||
---|---|---|
.. | ||
avl | ||
nvpair | ||
unicode | ||
zcommon | ||
zfs | ||
.gitignore |