git: 9fe17b520a4a - stable/13 - mount_nfs.8: Update BUGS section for NFSv4.1/4.2

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 00:07:41 UTC
The branch stable/13 has been updated by rmacklem:

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

commit 9fe17b520a4a0dfd79d31a5d271705b214f474fc
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2022-07-03 20:37:23 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-07-18 00:04:33 +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
    
    (cherry picked from commit aba7a81ab71ebef1bb20404634bc3c58ba615310)
---
 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.