Skip to content
Snippets Groups Projects
Commit 8535b2be authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Don't use GFP_KERNEL allocations in state recovery


We do not want to have the state recovery thread kick off and wait for a
memory reclaim, since that may deadlock when the writebacks end up
waiting for the state recovery thread to complete.

The safe thing is therefore to use GFP_NOFS in all open, close,
delegation return, lock, etc. operations that may be called by the
state recovery thread.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 712a4338
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment