Page MenuHomeFreeBSD

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

Authored by rmacklem on Jun 5 2022, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 15, 7:24 PM
Unknown Object (File)
Fri, Mar 15, 7:23 PM
Unknown Object (File)
Mon, Mar 11, 11:56 PM
Unknown Object (File)
Mon, Mar 11, 11:48 PM
Unknown Object (File)
Thu, Mar 7, 10:55 AM
Unknown Object (File)
Thu, Mar 7, 10:40 AM
Unknown Object (File)
Thu, Mar 7, 10:34 AM
Unknown Object (File)
Thu, Mar 7, 7:15 AM
Subscribers

Details

Summary

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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
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