HomeFreeBSD

Add a workaround for servers which respond RPC_PROGNOTREGISTERED

Description

Add a workaround for servers which respond RPC_PROGNOTREGISTERED
to a clnt_create() call even when it is actually a program
version mismatch.

Normally the server is supposed to return RPC_PROGVERSMISMATCH
when it supports the specified program but not support
the specified version. Some filers return RPC_PROGNOTREGISTERED
to RQUOTA v2 calls and FreeBSD does not retry with the old
v1 calls. This change fixes this failure scenario.

Submitted by: Jian-Bo Liao
PR: 236179

Details

Provenance
hrsAuthored on
Parents
rS352566: MFC: r342869, r344398, r344446, r344448, r345713, r345980, r347415,
Branches
Unknown
Tags
Unknown