Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp1529444rwj; Sun, 18 Dec 2022 09:59:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf6tdlA6KZN+6L8uXumf/5v5BKwnTu2cImallIoNzQlZodhkjWgJXAASWhrm7UNcPwP+njCO X-Received: by 2002:a17:902:744b:b0:189:9cfd:be79 with SMTP id e11-20020a170902744b00b001899cfdbe79mr43736505plt.15.1671386349029; Sun, 18 Dec 2022 09:59:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671386349; cv=none; d=google.com; s=arc-20160816; b=Dng3tiyiTC/Cg2udYLKjizQgAj9aYu68LQszl0O/0agaiEt3AdP7Bs24PGMHqwxBkd FXx1gzUKDx6j1UoVQ9xU9MRTm1PZ8+Hml9orzSqmTmgPDo7Zj5yJNDRpQi3Qd1BNDM81 0L2go75bTibr1vXk5pHRnNWmAFp3Uhi/fDHDk49sVZ0zqLYGQdeqPB7tVX+/s81xHjR+ ChQZLvXWEZggfcxlL1OIIApEuqoTLnn46wHQmM7iHEmzEC+BFnD1OCSJwdUrs5usAJ// djXNodHrY8YMvCNi1lEZRTg6vCiLlAT0U93nKP8PYOaT4JJxgD+nYRcBJBHXvX9RdP6n InAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature; bh=ovLeHNh/n7CD754r0gJdr8F2FH3Y7ga5sa7XIGZKQv0=; b=iSyfwONTToVmqhtRGJGrJYJZUt3qx/B2tQ7nq3X693I+EbJCOqQXbvhH5s9aQfxBx0 sxz8Jx0CYCALFofwHboC8oJEd0gmbK7+mUbkKKMCZdkAuMnVwzBlV4rUO6ddc/0X+xgN 61Sf79RTHIWM4T88ke8HtNVPw+vOQetSLWjOnnwD+wKrXNnY8uVZFs0puxDKfOvplr6d /HB7v3cZVoBA47TKfIYrf0LDzP768G3zE3N96AsVxytmOgqMw5gz8ePqBvROWnR9oaGB 4N/O/j2Ht8cwl9sh++k72z8NlBkvvQiv+MsmC7NvbB6JkIwFZ79r+3u4Uq9HCep9BS4L itQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r0QCOE8x; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t7-20020a1709027fc700b0017f77922b11si5501314plb.84.2022.12.18.09.58.57; Sun, 18 Dec 2022 09:59:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r0QCOE8x; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231652AbiLRRho (ORCPT + 99 others); Sun, 18 Dec 2022 12:37:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230522AbiLRRhU (ORCPT ); Sun, 18 Dec 2022 12:37:20 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E4307F202 for ; Sun, 18 Dec 2022 08:41:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 597ACB80BAB for ; Sun, 18 Dec 2022 16:41:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC4FFC433EF; Sun, 18 Dec 2022 16:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671381703; bh=Yty2yghX/PY19eOtJid0OflOIGns1EAuLZN7D08hrrM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=r0QCOE8xiJrFeM6pqZz9Jk04IsiAvMm0UFcNW52mQSvixxNwh+EFmav0b2k+PqO+q X4jUQaa2f7sCDyk1KYnXsIif76UkQufftiYcfX3pAM7V3rCz2VOxAPMtnaGu2rtvYn NV1RzVKbjLL7VpLqQwWhyuDJ+ReFcHAIy/5ufADZqgsVPdGL7XFLEXqEOa2ul22NFr DrRPNFJUwryL3ObWWx7U2c7eVlUzbuZAjui8XHvLX/cph0QJbewK3pucPyjbz/VOeW nUPqwd661Y35C5iF5CWYfCrsMVGUtd7ShkzoppN5qjpR4DGmrLNNnYkLMzW839/6O4 sXI5zZPtMSQRA== Subject: [PATCH 3/6] nfsd(7): Clarify description of From: cel@kernel.org To: SteveD@redhat.com Cc: linux-nfs@vger.kernel.org, debian@helgefjell.de Date: Sun, 18 Dec 2022 11:41:41 -0500 Message-ID: <167138170181.1584402.14449106893754326594.stgit@morisot.1015granger.net> In-Reply-To: <167138168903.1584402.12231405451604036910.stgit@morisot.1015granger.net> References: <167138168903.1584402.12231405451604036910.stgit@morisot.1015granger.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Chuck Lever Man page: nfsd.7 Issue: The first sentence is somewhat logical, but is this really the speciality of this file? "This is a somewhat unusual file in that what is read from it depends on what " "was just written to it. It provides a transactional interface where a " "program can open the file, write a request, and read a response. If two " "separate programs open, write, and read at the same time, their requests " "will not be mixed up." Reported-by: Helge Kreutzmann Signed-off-by: Chuck Lever --- utils/exportfs/nfsd.man | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/utils/exportfs/nfsd.man b/utils/exportfs/nfsd.man index 6992e10829e7..e1f3f65fb297 100644 --- a/utils/exportfs/nfsd.man +++ b/utils/exportfs/nfsd.man @@ -64,23 +64,17 @@ that number. .TP .B filehandle -This is a somewhat unusual file in that what is read from it depends -on what was just written to it. It provides a transactional interface -where a program can open the file, write a request, and read a -response. If two separate programs open, write, and read at the same -time, their requests will not be mixed up. +This file provides a transactional interface where a program can +read back a filehandle for a path as exported to a given client. -The request written to -.B filehandle -should be a client name, a path name, and a number of bytes. This -should be followed by a newline, with white-space separating the -fields, and octal quoting of special characters. - -On writing this, the program will be able to read back a filehandle -for that path as exported to the given client. The filehandle's length -will be at most the number of bytes given. +Each written request to +.I filehandle +should be a client name, a path name, and a number of bytes. +This should be followed by a newline, with white-space separating +the fields and octal quoting of special characters. -The filehandle will be represented in hex with a leading '\ex'. +The returned filehandle is represented in hex with a leading '\ex'. +The filehandle's length will be at most the number of bytes given. .TP .B clients/