Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1265556rwd; Thu, 1 Jun 2023 12:54:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7/jAmyX5lSMvpmaxfJ6aklWEO/0ZIrSIXQvkyjSMEReSZ+HBmJQ1O7HbQo3jptRr6j4wJQ X-Received: by 2002:a05:6a00:844:b0:652:2792:c07b with SMTP id q4-20020a056a00084400b006522792c07bmr1416631pfk.21.1685649287459; Thu, 01 Jun 2023 12:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685649287; cv=none; d=google.com; s=arc-20160816; b=VXDDTcsTjuuuFY0KgqW7rDjWkP5xuE+PxUVUA/hXOpAn63idOuXlsAXDdvNlGjZojL q60r5k4bANT1Ru1qPQzSDSV0RxT4kacvQ1/IW375GEV0jAZrl+pHKiBf/z+rEvaQDKFj RsoyduI+z1pBoCaMOOJCfZrvCUl1XIDyoaV8wFC5TIJlfryogTGwQFm9MaGO/tGuh2fA jMRoB16Xm3kBSxudVyI9k3shs5t1Au5zPN43hLd4xFNJNJJt3ld2He9vKCGLzH8AZ8SQ EJsYsmZww+szWOO7m9OijpTH2h0Gc7F75zxC2fRpFzH9OoKnvThJj07sAnHh748GFSmn DZjA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZqkHy8ZAPKlr+SHQRkpklX7yxS0TC5cn4LTH+deSobE=; b=D1AVu5JSEhlw0LRgX3Rx+FgxfgK3ZdyvXwc9f+4TxDHuSj4ykkU9tuuZuI0qnDMS35 wkjgO6iGbTxb3lQTNtaSxlnARzf8uBdCu+E0+yPLzMD4cF+9kFvH6eDDFg1OgYJxXJ+Z HUAAw7Vdsb55BSp7sNN68ffRR7Szu2spWfa34fW/hlruG3y4JkRFqxw6IZbCBhoi436x f5BII62oI2eTPFsMD9fLQN6fd41Hy/j/xuZ527SJ8OqknXOErAcIFGRyqUc06OrLiG6h q+R1aQLCZ6jM+nBDRcD4rwNqsGpCP0m3No8dR9Jd+lBa+edGAkmwhhogzxtrndrhUghA F6hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KbeJHp6j; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020aa79e05000000b0062dbc05a323si5921590pfq.298.2023.06.01.12.54.28; Thu, 01 Jun 2023 12:54:47 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=KbeJHp6j; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbjFATrD (ORCPT + 99 others); Thu, 1 Jun 2023 15:47:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjFATrB (ORCPT ); Thu, 1 Jun 2023 15:47:01 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E59A1189 for ; Thu, 1 Jun 2023 12:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685648779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZqkHy8ZAPKlr+SHQRkpklX7yxS0TC5cn4LTH+deSobE=; b=KbeJHp6jgWXYQkEIsSRHBufPvfSfAiYHtkaVU/bINBITUssxklTR5SRjzJPEoJ/qNzJ4RJ aj/Qpay2u81GTU7lHcKneY2u3Xm26KX+nFpAElFaNU4ApEdilyagPHyVeeLW9fcmd8Oq9Y B6LXoG/b7pKGSoCKfjDWRmzdgdFrgWs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-66-CpWQFkeIOp2-SXEIRkgfTg-1; Thu, 01 Jun 2023 15:46:17 -0400 X-MC-Unique: CpWQFkeIOp2-SXEIRkgfTg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7FD12101A52C for ; Thu, 1 Jun 2023 19:46:17 +0000 (UTC) Received: from aion.usersys.redhat.com (unknown [10.22.32.208]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 73DBC9E60; Thu, 1 Jun 2023 19:46:17 +0000 (UTC) Received: by aion.usersys.redhat.com (Postfix, from userid 1000) id 1E86E1A27F7; Thu, 1 Jun 2023 15:46:17 -0400 (EDT) From: Scott Mayhew To: steved@redhat.com Cc: linux-nfs@vger.kernel.org Subject: [nfs-utils PATCH 2/3] nfs(5): Document the write=lazy|eager|wait mount option. Date: Thu, 1 Jun 2023 15:46:16 -0400 Message-Id: <20230601194617.2174639-3-smayhew@redhat.com> In-Reply-To: <20230601194617.2174639-1-smayhew@redhat.com> References: <20230601194617.2174639-1-smayhew@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Signed-off-by: Scott Mayhew --- utils/mount/nfs.man | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man index 3cef2e23..2ed898f8 100644 --- a/utils/mount/nfs.man +++ b/utils/mount/nfs.man @@ -614,6 +614,28 @@ option is not specified, the default behavior depends on the kernel, but is usually equivalent to .BR "xprtsec=none" . +.TP 1.5i +.BI write= behavior +Controls how the NFS client handles the +.BR write (2) +system call. +.I behavior +can be one of +.BR lazy , +.BR eager , +or +.BR wait . +If +.B lazy +(the default) is specified, then the NFS client delays sending application +writes to the NFS server as described in the DATA AND METADATA COHERENCE +section. If +.B eager +is specified, then the NFS client sends off the write immediately as an +unstable WRITE to the NFS server. If +.B wait +is specified, then the NFS client sends off the write immediately as an +unstable WRITE to the NFS server and then waits for the reply. .SS "Options for NFS versions 2 and 3 only" Use these options, along with the options in the above subsection, for NFS versions 2 and 3 only. -- 2.39.2