HomeFreeBSD

nfscl: Change the default minor version for NFSv4 mounts

Description

nfscl: Change the default minor version for NFSv4 mounts

When NFSv4.1 support was added to the client, the implementation was
still experimental and, as such, the default minor version was set to 0.
Since the NFSv4.1 client implementation is now believed to be solid
and the NFSv4.1/4.2 protocol is significantly better than NFSv4.0,
I beieve that NFSv4.1/4.2 should be used where possible.

This patch changes the default minor version for NFSv4 to be the highest
minor version supported by the NFSv4 server. If a specific minor version
is desired, the "minorversion" mount option can be used to override
this default. This is compatible with the Linux NFSv4 client behaviour.

This was discussed on freebsd-current@ in mid-May 2021 under
the subject "changing the default NFSv4 minor version" and
the consensus seemed to be support for this change.
It also appeared that changing this for FreeBSD 13.1 was
not considered a POLA violation, so long as UPDATING
and RELNOTES entries were made for it.

(cherry picked from commit a145cf3f73c7d0f6071a6bddbe8a50a280285900)

Details

Provenance
rmacklemAuthored on Jun 25 2021, 1:52 AM
Parents
rG47c5e288eee9: Narrow down the probe range for if_ure(4) compatible devices
Branches
Unknown
Tags
Unknown