NFSv4: Protect the state recovery thread against direct reclaim
[ Upstream commit 3e17898a ] 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: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
parent
b37f482b
Please register or sign in to comment