Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp351802pxu; Tue, 1 Dec 2020 12:56:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhstieWwVMDJnnuQIrUQNZ6QiPuGlnoz56zdO9oYhNGIz9ywQyQVQ2cY6hwvE1KpCDmE21 X-Received: by 2002:a05:6402:456:: with SMTP id p22mr5073623edw.26.1606856170158; Tue, 01 Dec 2020 12:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606856170; cv=none; d=google.com; s=arc-20160816; b=mvQ1BlgVp9lkILpHKAA0YHrlra2ILy1OSip0e0hVopc2PIJub2XuLC9RrJl9tJySx+ m1luaBIPtp6r0Z5pxYntp4CmzW/7IfaFhWjWd+Aywg5qVf1N5YIvypT1aA+7SqDtwUN0 WcdXaxnkkwFIVmjDpYT71GLebyR8R7+MsLlbkdNTPmmOdBiSeqTl46I4qUvXgiGrXRSX 1oHLAuY6veHFgP9/RmwNEIKTGMx6XeiOKkTJvsj1vt+tVE2g/UIPDWsXrcKaYd0j+8ef Vgftntu858RlTZvgEUHfRfD5hU70gz663+q2cjpwypuKmOQDD9iuMNTnVtyXlToSvGU5 FL7A== 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=C0M0M1XMvnPyVuXvoznQh2WET8IHYd9p6mpO9O/PujU=; b=Lk0HuWWcKNRdNJf93UIv4CfEeKMv0kA74Fkk1xZnoQpv9GBVADMkv08yiex41jST0q I+85rltzMeB42Jv8yTT2kgHvzDSPdslN0bl4EJmxzrJs7NAsLMcX2Lur/mWagSjtrQm3 JeTWaYTZC/1bDBTDw+Bvy6RaF6BAWr+X3PxWJPt28+0dqi9WgQhARsX9dbWOugkEMUY1 1zkfL+8QiVrDu0veQicxbuLdW1TvGLxTxAnNZwNITfnNPeVKep9mwEBPlpYafoLRnD2F d1YXjJkF+HkJU6Z2HGGmP451ATlxw8Aov/Zb+vDwMtlpSBezU26SnyIu9oHRFBvGbi63 USLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=LnAbbdGq; 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 w17si653964eju.619.2020.12.01.12.55.42; Tue, 01 Dec 2020 12:56:10 -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=LnAbbdGq; 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 S2388517AbgLAUyl (ORCPT + 99 others); Tue, 1 Dec 2020 15:54:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388142AbgLAUyk (ORCPT ); Tue, 1 Dec 2020 15:54:40 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73A59C0617A7 for ; Tue, 1 Dec 2020 12:54:00 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 33CA36F4C; Tue, 1 Dec 2020 15:53:59 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 33CA36F4C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1606856039; bh=C0M0M1XMvnPyVuXvoznQh2WET8IHYd9p6mpO9O/PujU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LnAbbdGqnAEFlW+9N7DwEyd4Z6HmjqHfoiaSRRx3QoCJMcu9hXLy2oqHnF0xwyHEU 1eBGQYFAOq+2V2OwJ1LmqxR4V1NXOr+qESBfm1adTDKYemNu50ocyJdF7kzwAfEFK5 ydLOoWU3it7yovgu2nxfzwsmlm03xuv3t60PQDNI= Date: Tue, 1 Dec 2020 15:53:59 -0500 From: "bfields@fieldses.org" To: Trond Myklebust Cc: "linux-nfs@vger.kernel.org" , "bfields@redhat.com" , "chuck.lever@oracle.com" Subject: Re: [PATCH 2/2] nfsd: Record NFSv4 pre/post-op attributes as non-atomic Message-ID: <20201201205359.GC21355@fieldses.org> References: <20201201041427.756749-1-trondmy@kernel.org> <20201201041427.756749-2-trondmy@kernel.org> <20201201193521.GA21355@fieldses.org> <63eaf3aab8814b2d65998123b6ba2e5b979a48d9.camel@hammerspace.com> <7181b1e7290dcfe4f92d9a8b00117a81b30f0cce.camel@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7181b1e7290dcfe4f92d9a8b00117a81b30f0cce.camel@hammerspace.com> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Dec 01, 2020 at 08:27:38PM +0000, Trond Myklebust wrote: > As far as I can tell, there is no need for it at all, since both the > NFSv3 and NFSv4 client can supply atomic struct change_info4 in the > cases where it is relevant (those cases being recording the changes to > the parent directory/ies when doing CREATE, OPEN(O_CREAT), LINK, REMOVE > and RENAME). I was wondering about that. We'd need some additional interface to allow nfs to supply that stuff to nfsd, right? --b.