]> www.infradead.org Git - users/hch/misc.git/commit
NFSv4: Fail mounts if the lease setup times out
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 9 Sep 2024 17:47:07 +0000 (13:47 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 23 Sep 2024 19:03:13 +0000 (15:03 -0400)
commitaf94dca79b1296a6db7b8b47cd43be8e94fce8bb
tree16202eeb2a74430f1e30ca61324702b8880a1bc4
parent03e02b94171b1985dd0aa184296fe94425b855a3
NFSv4: Fail mounts if the lease setup times out

If the server is down when the client is trying to mount, so that the
calls to exchange_id or create_session fail, then we should allow the
mount system call to fail rather than hang and block other mount/umount
calls.

Reported-by: Oleksandr Tymoshenko <ovt@google.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/nfs4state.c