zfsonlinux/spl — pull request #327 by behlendorf (2014-01-16 01:07:20+00:00)
Title: Add TQ_PUSHPAGE_THREAD flag

When the TQ_PUSHPAGE_THREAD flag is passed to taskq_dispatch() then
the PF_NOFS bit will be bit will be set while the passed function is
executing. This makes it possible to detect when the KM_SLEEP is
being used inappropriately even for delegated work.

Signed-off-by: Brian Behlendorf
zfsonlinux/zfs#1928