HomeFreeBSD

MFC r352567:

Description

MFC r352567:

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
rS352574: - Revert WARNS to 2 because of mismatch between (xdrproc_t) and xdr_void().
Branches
Unknown
Tags
Unknown