Page MenuHomeFreeBSD

Add a warning message w.r.t. using soft, intr options for NFSv4 mounts

Authored by rmacklem on Jun 5 2022, 8:22 PM.
Referenced Files
F55562858: D35407.diff
Mon, Jan 30, 1:27 AM
Unknown Object (File)
Sat, Dec 31, 6:04 AM
Unknown Object (File)
Sat, Dec 31, 6:00 AM
Unknown Object (File)
Dec 20 2022, 9:24 AM
Unknown Object (File)
Dec 18 2022, 3:37 AM



NFSv4 mounts are broken by either the "soft" or "intr" options.
This is noted in the BUGS section of "man mount_nfs".
However, a couple of recent PRs that were broken this way
indicates that generating a warning message for one of
these mounts is appropriate.

Test Plan

Tried NFSv4 mounts with/without "soft" and "intr", to see that
the warning is generated, as required.

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

Please reference the PRs in the commit message. The message seems reasonable to me for now, although should we consider just disallowing soft/intr entirely for NFSv4?

This revision is now accepted and ready to land.Jun 25 2022, 3:33 PM