HomeFreeBSD

Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.

Description

Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.

For the ReclaimComplete operation, the RPC layer should not loop on
NFSERR_BADSESSION. If it does, the recovery thread (nfscl) can get stuck
looping and will not do a recovery.
This patch fixes it so it does not loop. This bug only affects NFSv4.1 and
only when a server reboots.

Tested by: cperciva
PR: 215886
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS316665: Import CK as of commit 6b141c0bdd21ce8b3e14147af8f87f22b20ecf32
Branches
Unknown
Tags
Unknown