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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 1 Nov 2023 19:40:44 +0000 (15:40 -0400)
commit6bd1a77dc72dea0b0d8b6014f231143984d18f6d
tree9e597d4eaec760a5b691ff88f6c34c5ffd004127
parenta68c6fbb638a1aaad34b99f9e647072dcc711021
NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking

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>
fs/nfs/nfs4proc.c