From owner-svn-src-all@freebsd.org Thu Oct 22 19:25:02 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB9B0428924; Thu, 22 Oct 2020 19:25:02 +0000 (UTC) (envelope-from gbe@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CHHPV4YLZz4PcW; Thu, 22 Oct 2020 19:25:02 +0000 (UTC) (envelope-from gbe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7B58D1BD19; Thu, 22 Oct 2020 19:25:02 +0000 (UTC) (envelope-from gbe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09MJP2LA019022; Thu, 22 Oct 2020 19:25:02 GMT (envelope-from gbe@FreeBSD.org) Received: (from gbe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09MJP21k019021; Thu, 22 Oct 2020 19:25:02 GMT (envelope-from gbe@FreeBSD.org) Message-Id: <202010221925.09MJP21k019021@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gbe set sender to gbe@FreeBSD.org using -f From: Gordon Bergling Date: Thu, 22 Oct 2020 19:25:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r366949 - head/usr.sbin/nfsd X-SVN-Group: head X-SVN-Commit-Author: gbe X-SVN-Commit-Paths: head/usr.sbin/nfsd X-SVN-Commit-Revision: 366949 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 19:25:02 -0000 Author: gbe (doc committer) Date: Thu Oct 22 19:25:01 2020 New Revision: 366949 URL: https://svnweb.freebsd.org/changeset/base/366949 Log: stablerestart(5): Fix some issues reported by mandoc - New sentence, new line Modified: head/usr.sbin/nfsd/stablerestart.5 Modified: head/usr.sbin/nfsd/stablerestart.5 ============================================================================== --- head/usr.sbin/nfsd/stablerestart.5 Thu Oct 22 19:22:34 2020 (r366948) +++ head/usr.sbin/nfsd/stablerestart.5 Thu Oct 22 19:25:01 2020 (r366949) @@ -52,18 +52,18 @@ first record. The lease duration is used to set the grace period. The boot times are used to avoid the unlikely occurrence of a boot time being reused, -due to a TOD clock going backwards. This record and the previous boot times with this boot time added is re-written at the -end of the grace period. +due to a TOD clock going backwards. +This record and the previous boot times with this boot time +added is re-written at the end of the grace period. .Pp The rest of the file are appended records, as defined by -struct nfst_rec in /usr/include/fs/nfs/nfsrvstate.h and are used -represent one of two things. There are records which indicate that a +struct nfst_rec in /usr/include/fs/nfs/nfsrvstate.h and are used represent one of two things. +There are records which indicate that a client successfully acquired state and records that indicate a client's state was revoked. State revoke records indicate that state information for a client was discarded, due to lease expiry and an otherwise conflicting open or lock request being made by a different client. -These records can be used -to determine if clients might have done either of the +These records can be used to determine if clients might have done either of the edge conditions. .Pp If a client might have done either edge condition or this file is @@ -71,8 +71,8 @@ empty or corrupted, the server returns NFSERR_NOGRACE request from the client. .Pp For correct operation of the server, it must be ensured that the file -is written to stable storage by the time a write op with IO_SYNC specified -has returned. This might require hardware level caching to be disabled for +is written to stable storage by the time a write op with IO_SYNC specified has returned. +This might require hardware level caching to be disabled for a local disk drive that holds the file, or similar. .Sh FILES .Bl -tag -width /var/db/nfs-stablerestart.bak -compact @@ -86,12 +86,11 @@ backup copy of the file .Xr nfsd 8 .Sh BUGS If the file is empty, the NFSv4 server has no choice but to return -NFSERR_NOGRACE for all reclaim requests. Although correct, this is -a highly undesirable occurrence, so the file should not be lost if -at all possible. The backup copy of the file is maintained -and used by the +NFSERR_NOGRACE for all reclaim requests. +Although correct, this is a highly undesirable occurrence, so the file should not be lost if +at all possible. +The backup copy of the file is maintained and used by the .Xr nfsd 8 to minimize the risk of this occurring. -To move the file, you must edit -the nfsd sources and recompile it. This was done to discourage -accidental relocation of the file. +To move the file, you must edit the nfsd sources and recompile it. +This was done to discourage accidental relocation of the file.