Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp448424ybl; Tue, 7 Jan 2020 08:53:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzIkwj1ZJ0iRNrxKN6gIWgOxbZ7fVW+cCjZkE2lBTQyZNZIlbpTlxiJKwjxYigHzvi88NP+ X-Received: by 2002:a05:6830:1185:: with SMTP id u5mr654683otq.147.1578416032159; Tue, 07 Jan 2020 08:53:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578416032; cv=none; d=google.com; s=arc-20160816; b=qUAQ+KXuJWUmxamNWREp6vcBNwhW+dheH8X/Zmb02GhlHieBI61pMBy0G/sS3ebiJJ czdm3Vy+Kc44uzcU3qF0IYpDSQHpCIfRGu6Wu3OktE+NEMO3mh6trHTQXqy2HA65CCJm Y7D6rykzBDqP0X8wX8Z9oPQCw2r9ojF7kKmtps00qs22s4Tr55bFTpOBxQK1ecxa6cm7 8V8HzgNAz+RwMj4d4EKM77ddQojvuzmiGVXh82UU4ZxKxSOJS9W6A+Zin93WyBsEsBYi VpQY/nVYvJlWu6K60Vfg0ToQdcoTNqnhCJhBAWJq/+6EBQmbPkrxV3uqEvvWlUAQ+8Wr l1hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=966aQIWRry9wnwN7r8/mYuRsBPGA48V2xjFEbfaRAqE=; b=WUpfUnVsXLUxPtmEu2We9o/PmGsyE32sEBwzOOUBJqj+2c1upCIkJC5mOIaJUcrNae ikqjYz8CRciX8Ti2jj5UpQHnP2074u1NKYuYg/t1ISh0VbrW5PQlu5ZBM73oCTO7j/ql eOPhsJCfDLZkU5tqCVEv1l4cOtjdx5kfviYpgwTPz8iHHrMRxbW29MZyrg+Hb0pDD0tL +xvm4OMXXje/knmhw+g8eqMiRCq9HIlQjZTu/TfPn+w/efPzuwEx8BjjblSWKn8kVH/C YAy058TCvGQpsGy9CqjBf78O8gcfVJhwwq7zYNTCvTM2PO/UMRcVZsKAJo0oXjAjqgjY wU7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si197450otr.183.2020.01.07.08.53.31; Tue, 07 Jan 2020 08:53:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728423AbgAGQxa (ORCPT + 99 others); Tue, 7 Jan 2020 11:53:30 -0500 Received: from fieldses.org ([173.255.197.46]:53618 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728391AbgAGQxa (ORCPT ); Tue, 7 Jan 2020 11:53:30 -0500 Received: by fieldses.org (Postfix, from userid 2815) id D9B611C89; Tue, 7 Jan 2020 11:53:29 -0500 (EST) Date: Tue, 7 Jan 2020 11:53:29 -0500 From: "J. Bruce Fields" To: NeilBrown Cc: Trond Myklebust , "anna.schumaker@netapp.com" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH/RFC] NFS: handle NFSv4.1 server that doesn't support NFS4_OPEN_CLAIM_DELEG_CUR_FH Message-ID: <20200107165329.GB944@fieldses.org> References: <87y2v9fdz8.fsf@notabene.neil.brown.name> <3afd2d5c631d8e3429e025e204a7b1c95b3c1415.camel@hammerspace.com> <87v9qdf2gh.fsf@notabene.neil.brown.name> <87pngkg9ga.fsf@notabene.neil.brown.name> <9f5f220e64245d7f1b0359149876b5dc056dcf12.camel@hammerspace.com> <87lfr7fu9v.fsf@notabene.neil.brown.name> <20200107161536.GA944@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200107161536.GA944@fieldses.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Jan 07, 2020 at 11:15:36AM -0500, bfields wrote: > On Fri, Dec 20, 2019 at 04:19:56PM +1100, NeilBrown wrote: > > I was a bit surprised that nfs4_map_atomic_open_claim() exists at all, > > but given that it did, I assumed it would be used more uniformly. > > > > So this all implies that Linux NFS server claimed to support NFSv4.1 > > before it actually did - which seems odd. This is just a bug (which are > > expected), but a clear ommission. > > For what it's worth, I did make some attempt to keep 4.1 by default (I meant to say: "keep 4.1 off by default".) > until 3.11 (see d109148111cd "nfsd4: support minorversion 1 by default") > but probably could have communicated that better. This isn't the only > blatant known issue in older code. > > --b.