]> git.hungrycats.org Git - linux/commit
NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
authorOlga Kornievskaia <kolga@netapp.com>
Fri, 15 Sep 2023 19:21:16 +0000 (15:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:14:53 +0000 (17:14 +0000)
commit3c51fac1ae191fe7c5a6ef93c196a3dd0b1fff8e
tree43c6e0d8bfcc78f56733bb6864ff7e33a4c74ca6
parent37c6ca6a1931479e888d01c39cd47b90289ac0d7
NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking

[ Upstream commit 6bd1a77dc72dea0b0d8b6014f231143984d18f6d ]

Currently when client sends an EXCHANGE_ID for a possible trunked
connection, for any error that happened, the trunk will be thrown
out. However, an NFS4ERR_DELAY is a transient error that should be
retried instead.

Fixes: e818bd085baf ("NFSv4.1 remove xprt from xprt_switch if session trunking test fails")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4proc.c