HomeFreeBSD

During a server crash recovery, fix the NFSv4.1 client for a NFSERR_BADSESSION

Description

During a server crash recovery, fix the NFSv4.1 client for a NFSERR_BADSESSION
during recovery.

If the NFSv4.1 client gets a NFSv4.1 NFSERR_BADSESSION reply to an Open/Lock
operation while recovering from the server crash/reboot, allow the opens
to be retained for a subsequent recovery attempt. Since NFSv4.1 servers
should only reply NFSERR_BADSESSION after a crash/reboot that has lost
state, this case should almost never happen.
However, for the AmazonEFS file service, this has been observed when
the client does a fresh TCP connection for RPCs.

Reported by: cperciva
Tested by: cperciva
PR: 216088
MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS316716: Inherit IPv6 checksum offloading flags to vlan interfaces.
Branches
Unknown
Tags
Unknown