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)
Mon, Jan 30, 1:27 AM
Unknown Object (File)
Dec 31 2022, 6:04 AM
Unknown Object (File)
Dec 31 2022, 6:00 AM
Unknown Object (File)
Dec 20 2022, 9:24 AM
Unknown Object (File)
Dec 18 2022, 3:37 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 Skipped
Unit
Tests Skipped

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