git: aba7a81ab71e - main - mount_nfs.8: Update BUGS section for NFSv4.1/4.2

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sun, 03 Jul 2022 20:38:46 UTC
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=aba7a81ab71ebef1bb20404634bc3c58ba615310

commit aba7a81ab71ebef1bb20404634bc3c58ba615310
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2022-07-03 20:37:23 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-07-03 20:37:23 +0000

    mount_nfs.8: Update BUGS section for NFSv4.1/4.2
    
    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 there was no specific mention of the session slot
    problem.  This patch adds a sentence for this case.
    
    PR: 260011
    Reviewed by:    gbe
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D35693
---
 sbin/mount_nfs/mount_nfs.8 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8
index 5725b6eccf65..88c9b11e9392 100644
--- a/sbin/mount_nfs/mount_nfs.8
+++ b/sbin/mount_nfs/mount_nfs.8
@@ -28,7 +28,7 @@
 .\"	@(#)mount_nfs.8	8.3 (Berkeley) 3/29/95
 .\" $FreeBSD$
 .\"
-.Dd January 11, 2022
+.Dd July 2, 2022
 .Dt MOUNT_NFS 8
 .Os
 .Sh NAME
@@ -662,5 +662,8 @@ enforced by the server, the options
 and
 .Cm soft
 cannot be safely used.
+For NFSv4 minor version 1 or 2 mounts, these options may
+also result
+in hung mount points, due to corruption of session slots.
 .Cm hard
 nfsv4 mounts are strongly recommended.