Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1382154pxb; Thu, 4 Mar 2021 09:52:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlCd2M2qOXIyZ7fgEaKAQVedLNtAl0w0Cq0FsVS9IkgulV82ecRKVyfhj5wK3Mt5N3SkGa X-Received: by 2002:a50:f314:: with SMTP id p20mr5673050edm.236.1614880374673; Thu, 04 Mar 2021 09:52:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614880374; cv=none; d=google.com; s=arc-20160816; b=h5AYFkwPWe1sNzr0+MOCsm8dDEA3BuKCaXCqhyBKMBNDbvAWFb28+4Lrbvul6xSy59 h+6MHf0Up8Wt+bKCWdgUT+o41lsuzPBydYi5dDqsQPOfwnbaPebVc5BReaeGYzhcXSXd 6UrtUtE7lEG+/yKuYmXEiOnfQSlmT2dqDc+rUQvVqOKi4cm9V0x4Kd4bR/wtzR2t/Ec4 sbbwA9QIg5weBXQ8Yk0/LPvo4815Fmm5PXtAHKr1PmkEATMw8CoDWp9ESdw5mQl5bPWb 8HjTEKATPMZ6HxE5yQ/2iUu/eBILzT68WZXsZOaKrDSCs1w6C7wCtdxEvWGy0dlUC1Dx Si2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=mRxOAPLsTIUmXy9BQCOqKTdEATY9DYLVX8QMRC3aRiw=; b=cDwUQ9lBKAykwPmUNukbPXVy3Xsxk4qxCNO6wAtYXKrbNiEhrJDu/3RsjgYZpC6IYG EHCU6cAXWcB/aW8xq5As19EP1qTWLQhJ8qNA0/UGlPAE7yOnCUqJp1u/JmkC6rYssV4r wJD78VqZOk9r0lxOen/w09byrYbTFGneJh6edScj5UlhUrDTRBjYhCKpg7SVLzkLMQ23 yG0iBceitVVDosiGn9A3E7navhPGxT4QvpAQJqtrtqd4HMi1VBcxGAL7zGmfuHeogNUV CQmT8bwkjbBrMkJ32ph2LOUyya+tG7GQLxgPtkZvLdmcrWA1c2P7gTmodE72BdPMme1G mVjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=p4fxdGfk; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si18147116ejg.258.2021.03.04.09.52.31; Thu, 04 Mar 2021 09:52:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=p4fxdGfk; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232287AbhCDOnc (ORCPT + 99 others); Thu, 4 Mar 2021 09:43:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbhCDOnJ (ORCPT ); Thu, 4 Mar 2021 09:43:09 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EB5C061574 for ; Thu, 4 Mar 2021 06:42:29 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 8E6E323D8; Thu, 4 Mar 2021 09:42:28 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 8E6E323D8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1614868948; bh=mRxOAPLsTIUmXy9BQCOqKTdEATY9DYLVX8QMRC3aRiw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p4fxdGfkfJ1vy76UNTHgfTEcs63mcJxsv9yNVP/LfL7032eqbZU3uwURC6ZLj8zf+ e7ILPtCRjk9kuFsaRKUbf950qN/0yvXcsomRJ+lTSCaWXw5UwdKJdkmNd2Lc/R04sW 3+XitCDc5YY3q6BmBNz35OA/SuzidE8iUiFHAUXE= Date: Thu, 4 Mar 2021 09:42:28 -0500 From: "J. Bruce Fields" To: Timo Rothenpieler Cc: Linux NFS Mailing List Subject: Re: NFSD Regression: client observing a file while other client writes to it leads to stale local cache Message-ID: <20210304144228.GD17512@fieldses.org> References: <20210301184633.GA14881@fieldses.org> <86ef3b71-bcb4-767c-40a0-461d082f5d44@rothenpieler.org> <20210302010629.GB16303@fieldses.org> <2d4e7965-903f-2319-d2d2-65116f50400c@rothenpieler.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d4e7965-903f-2319-d2d2-65116f50400c@rothenpieler.org> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Mar 02, 2021 at 02:23:05AM +0100, Timo Rothenpieler wrote: > Server and reading client disagreeing about the files size and > contents is 100% reproducible, even after the writing client has > long and definitely closed the file. OK, I reproduced this myself and watched the network traffic in Wireshark. The server is *not* giving out a read delegation to the writer (which is what the commit you bisected to should have allowed). It *is* giving out a delegation to the reader. Which is a truly awful bug. Investigating.... --b.