]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Fix a NFSv4 state manager deadlock
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 20 Nov 2018 01:11:45 +0000 (20:11 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 20 Nov 2018 01:11:45 +0000 (20:11 -0500)
commitaeabb3c96186a0f944fc2b1f25c84d5eb3a93fa9
tree1c0af7194ead73825a71846eba311f0489a29b06
parent9ff01193a20d391e8dbce4403dd5ef87c7eaaca6
NFSv4: Fix a NFSv4 state manager deadlock

Fix a deadlock whereby the NFSv4 state manager can get stuck in the
delegation return code, waiting for a layout return to complete in
another thread. If the server reboots before that other thread
completes, then we need to be able to start a second state
manager thread in order to perform recovery.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4state.c