Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Add TQ_PUSHPAGE_THREAD flag #327

Closed
wants to merge 1 commit into from

Conversation

behlendorf
Copy link
Contributor

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 [email protected]
openzfs/zfs#1928

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 <[email protected]>
openzfs/zfs#1928
@behlendorf
Copy link
Contributor Author

Closing. We've decided against this for now, the patch will remain available in the closed pull request.

@behlendorf behlendorf closed this Apr 10, 2014
@behlendorf behlendorf deleted the issue-1928 branch July 28, 2017 21:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant