From nobody Sun Jul 03 20:38:46 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CF8898BD9D9; Sun, 3 Jul 2022 20:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lbgkt5XvHz3h70; Sun, 3 Jul 2022 20:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656880726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gVljuzDMlnvXWqCmSPt6zXzSLtIR6GRnHQC8YFaWDfg=; b=YtaTVkKTQFotyLrKRr62hQyztiovDyTVdXwKeLTKbuVc7ffFFB5khljqAhapEeXza1qPkt f9qK+vAPgld9wjwSEMPTWZwdanPz/QAjJL/qPnfNe/wNrTOlGgUotvaz4Zm4bGUcp50JvL oUVxc2TkxNcwU+kuBbmkMvk/mPCeZj3UaHPzuasY8TU/pPK9d9uPqGPNLsi1/5tOiLaaoP t3TgXBM97e8lPGRX2aWF9GyLbvyFjkdh8rELm+CkumB7zuJGuIJwV6M5GG9f63zS3HCNmM JbrMLorenhQxl3Nsr3MozUMYeJlwidZ1qYCoZTYsMsfOig7/tKmjVVaHYSMZYA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E7C52B2E6; Sun, 3 Jul 2022 20:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 263Kckv0014437; Sun, 3 Jul 2022 20:38:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 263Kckhm014436; Sun, 3 Jul 2022 20:38:46 GMT (envelope-from git) Date: Sun, 3 Jul 2022 20:38:46 GMT Message-Id: <202207032038.263Kckhm014436@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: aba7a81ab71e - main - mount_nfs.8: Update BUGS section for NFSv4.1/4.2 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aba7a81ab71ebef1bb20404634bc3c58ba615310 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656880726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gVljuzDMlnvXWqCmSPt6zXzSLtIR6GRnHQC8YFaWDfg=; b=ROxC7kOkTy7dfg1LQFz0khyauOWjb70Nz1wR+P6inwTo0BF0WDWpWVm+5RmzG9XdV66prX LULVfPrQX/Zu7XovYy4VLai+AC9z036qNTje1/lsQ2YG+goKSNa8cGFghzSzGUnoUhs5x+ 2bi5869/seMJiugNCR5I/ZT9IJuJ+n67iv+BkXVvbRzY1JgZEU2I3yv3vaOHH3XhKBVhj4 0u5jO0V3cv7S+XReZmYth0Yje0nK3L6yUeNtH1QWPGPConPp0TQtTijCjoaeyKkgIlcysT o+b89ihN5QqBuY0BupYZrLkBCGpOrjylKEQFZmSzNhqqv536V75G0QMnB/olDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656880726; a=rsa-sha256; cv=none; b=nxmwmn15DRuZ6B8LZ/1BgYAoC/jnNkraLQvYMEkwn9H5QbsbZtsq0cSs5a2+BiaKqGYqXY 1N4MnJaG2DEwyF/kYfITvkTFY7QzpH6azbTe1MzpbLGbxA526Rbbjiu56/CQitHSfNksq1 2vcB9OPG+FwQfacOJy07rHTE6O14WWvLP3QnWud+hCL6hgd9hx1VABF2WEv1nnd+vmUeTq ZlMcubuDSLqMTQqUiTMSZpWXGzO6jIKKL+RsGc3bie2HJDpw0OI7oyIB42Ar4RC70vM3q8 o+9AZcqmqr8zif6B6QCVxgLbfYqbWy2igf6BDJ6jYRvIPxXN10kYlDCIclQOIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=aba7a81ab71ebef1bb20404634bc3c58ba615310 commit aba7a81ab71ebef1bb20404634bc3c58ba615310 Author: Rick Macklem AuthorDate: 2022-07-03 20:37:23 +0000 Commit: Rick Macklem 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.