HomeFreeBSD

mount_nfs: Warn that intr, soft are not safe for NFSv4

Description

mount_nfs: Warn that intr, soft are not safe for NFSv4

If the "intr" and/or "soft" mount options are used for
NFSv4 mounts, the protocol can be broken when the
operation returns without waiting for the RPC reply.
The likelyhood of failure increases for NFSv4.1/4.2
mounts, since the session slot will be broken when
an RPC reply is not processed.

This is mentioned in the BUGS section of "man mount_nfs",
but more needs to be done. This patch adds code that
generates a warning message when the mount is done.

PR: 260011
Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35407

Details

Provenance
rmacklemAuthored on Jul 1 2022, 9:43 PM
Reviewer
emaste
Differential Revision
D35407: Add a warning message w.r.t. using soft, intr options for NFSv4 mounts
Parents
rGea5b2d62426f: MIMIMAL: add uart
Branches
Unknown
Tags
Unknown