]> git.baikalelectronics.ru Git - kernel.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)
commitb208e8cea86b98c1cab03ef82a9a04de0635fa8b
tree1c0af7194ead73825a71846eba311f0489a29b06
parentf11bd5030d4f1983e167d654e8455adaea4ba160
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