Skip to content
Commit 3e17898a authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Protect the state recovery thread against direct reclaim



If memory allocation triggers a direct reclaim from the state recovery
thread, then we can deadlock. Use memalloc_nofs_save/restore to ensure
that doesn't happen.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent ab22e2cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment