]> 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)
commit64af7108aaba715271f0bf6b959de53c2c8f5fb3
tree1c0af7194ead73825a71846eba311f0489a29b06
parentebb20e01bb448ecb2fee86f0ea412a232fe92265
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