Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp35802rdb; Thu, 16 Nov 2023 11:09:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEE9kVuEsR5F2Nw2wHDrFjg80yRmVtmcIvaWznYGhwHcNfxHKx9+Jky67xKMXw6Pc9hC8+D X-Received: by 2002:a17:902:7e88:b0:1cc:3ac5:57dd with SMTP id z8-20020a1709027e8800b001cc3ac557ddmr9615160pla.9.1700161754026; Thu, 16 Nov 2023 11:09:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700161754; cv=none; d=google.com; s=arc-20160816; b=IRxskhAfRPd8M+2PcuxqKQPQ08ZdeVgpwD6dYWV1QzUqfP3CvrxNYNxLtqGqqqa7Nr lSzpZfIT0t2ZXqrpp8UyGUoG1NwbE8V6ncGE1gKGLdMTDyHczZgo/gNiefrKMSnN6Si0 +0V0CQn/vVxsLarrDqyN30rWnT8rNtRTIrMKEKq5IfMwIEDTwRik+dPC2fSLZB00oiQF v2f/WdsrsU9gX2vHmIqueokIxmuzg/wlb+0B1S4Kr6FcxHggKTg6sH+ZsGZO0Odxca66 ZoKUyDH7wiTs+Qegfwks5NJvGcVsLdSMZQKTCN6dOyZ9YZwOCtAPGiyqCnWp65jTx+sf yiLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:to:subject:message-id :date:from:in-reply-to:references:mime-version:dkim-signature; bh=P8ft6GSijey+hqhIBboeivDD7EDa15Wfj8F8wiM2Bu0=; fh=A3pMOUK00huGibGCZBFsLekFLVbB5hHGKjUNNKwO+5E=; b=RKqnxCmQWTfQw6UKicIMGpRBhHWiVYa+e7FwiHI8bAOUZyuOUKmkkchj+9SAt8QzFk RUk4PC4M/nlIt4tebeZC4FJ7jJh1agLFtr6HlV1jvpCWSlWxNgxWMDpLcKf3x9QWfvPd lv2tpvfNY7tSR3paVo7r8pwIewHZv/RuwoQVsaLPFcWTUh+2A3CqTBj6pDq6I68psyO9 6w6QgKBVkZRPAlVPaCQIp9yAdYEOh3kcRty+0OuLwDz06c+fRhU/iE1sNzs4z7FrCDOu C6rccAg9gL/WVOHC5LfljEv5cYTOcAKm24xVs3ouIcTBRrKjoGxt16wOEX1e3CrlhKSq qsrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=arKkNYnE; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b2-20020a170902b60200b001ce5b7bd150si3139pls.607.2023.11.16.11.09.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 11:09:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=arKkNYnE; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8712E80AE205; Thu, 16 Nov 2023 11:09:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbjKPTJK (ORCPT + 99 others); Thu, 16 Nov 2023 14:09:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjKPTJJ (ORCPT ); Thu, 16 Nov 2023 14:09:09 -0500 Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 682F8B8 for ; Thu, 16 Nov 2023 11:09:06 -0800 (PST) Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-1f573a9ee2fso602564fac.0 for ; Thu, 16 Nov 2023 11:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700161745; x=1700766545; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=P8ft6GSijey+hqhIBboeivDD7EDa15Wfj8F8wiM2Bu0=; b=arKkNYnEVJdYEzcOfhOhgn2YtlwgZLWd6daYdopQ98swsop3CmjHeShHblPU6oWOR7 FLcqx2gt5TffQL+QJoyo4lLQdBnXeH+0huZjDCD+GaeK1yR01a14hgP2uTJFzeswqo7N JavIIq2OV6V79wsG/0tAm+KhX7of6lAQ2S3uBoobhijezKzPtYpygj2VTcX67dtaQjm3 svn+h6sumS72vOKvVHxb5Bf/HsK9S2C7dpeJGxolPmZxds/GtSelp6UCFcMeb2A2dWRp gkBtqE0vFtBZf0rEA7NGEQpTgqW60NmDi9nPiodoKTVsrBJYgBveH+Hh8mAmpXicOHOY KyfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700161745; x=1700766545; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P8ft6GSijey+hqhIBboeivDD7EDa15Wfj8F8wiM2Bu0=; b=ofc9I5phaqTPsIq+QcWjORc6ipwqBkpxmFVg7My+Gp3mPI//vCWFyKPzpVc8f5BQJC dRHC6MleyNW0g6YA16ylllQZgF48P+pxlypdroi7ZGv6P2Dos7CSeaCTlKz2UdzDKbjG BBtm25cFqcpEYCNR8M6S6J/FIe+J9Sxyxlv2+r5VVcYdQrSngwbJ6j4HYaZwsFXznUTv ohwZWu4tUcsb0/Ec0JuWGE4+CfRzd0cXsIfmxgiqJfeAKWxA2EEJi3toGsTT0GXsmurY Cs/DAiUHhULgTEcEBGdaUmcIgHuk43OYH3H4TuvOcTrtNo+k/COtJw6WfCRSNKn7TMRM bH5Q== X-Gm-Message-State: AOJu0YzCXvc8jBVx2PT7BlcdTNu31ULqw+JH5lRs9Y1mlEfr+f6pNPq7 s64NExOwNA1H19zfccHNW3gIx9+85D/FF/oG4X//zluE X-Received: by 2002:a05:6870:c90d:b0:1f0:8706:4c4a with SMTP id hj13-20020a056870c90d00b001f087064c4amr20993819oab.29.1700161745558; Thu, 16 Nov 2023 11:09:05 -0800 (PST) MIME-Version: 1.0 References: <08A8C65F-5755-41DC-B29A-DE168B23C968@redhat.com> In-Reply-To: <08A8C65F-5755-41DC-B29A-DE168B23C968@redhat.com> From: Martin Wege Date: Thu, 16 Nov 2023 20:08:54 +0100 Message-ID: Subject: Re: Does NFSv4 close-to-open consistency work with server "async" mount open? To: Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 16 Nov 2023 11:09:09 -0800 (PST) On Thu, Nov 16, 2023 at 1:30=E2=80=AFPM Benjamin Coddington wrote: > > On 16 Nov 2023, at 2:11, Martin Wege wrote: > > > Hello, > > > > Does NFSv4 close-to-open consistency on the client work with server > > "async" mount open? > > Yes, I believe it should, but I am looking at knfsd code and I think it > won't. What does that mean? nfsd server bug? > > > We see several build errors here with parallel GNU Makefile update, > > where one process writes a file, exists, and the next process doesn't > > see all data (linker ar: file too short). > > But if you manually look at it the files are OK, and completely written= . > > > > What is this? NFSv4 client bug, NFSv4 server bug, admin error (async > > breaking close-to-open consistency? > > Hard to say, a wire capture would show. My guess is that the server's > "async" disables the write gather in nfsd_vfs_write(). What is the correct option in Linux /etc/exports to enforce NFSv4 standard conformance? > > Also, is close-to-open consistency guaranteed between different NFSv4 c= lients? > > Yes. How does it work in a NFSv4 client implementation? Thanks, Martin