Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp412385ybl; Tue, 7 Jan 2020 08:16:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxMuwY+xDgqAKbdHYsX2kp/8DDHg7ZQmi6sSuASL4zVtHJ2LGBDAKcVkl9Gm7YFIx32/Ga/ X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr530484otq.63.1578413798417; Tue, 07 Jan 2020 08:16:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578413798; cv=none; d=google.com; s=arc-20160816; b=aKPr62bt8CgTW4zN7teTInln72XAk8tnCXAn0JnA798TzrR4LLvjsBmTx6ctXyxmNT 91GhLsPrDU6Tppbwxp49Qs/pmlke8va96nll9res08RNV7BjmcQJp2dF/C+7IRFXK5O+ zXjTMm2od6vx3KQl7ETfCA9LhNdc49jVV4skPbjc1j3cJ79gW48Rjk0NjQg9p0jsfVmU IyNhMeUmZBZERfgO/M6rVqH8LamyXwo3sXHLsjZcw/uOcHgPxzvK70EMRJqIJaaZj9Fn j6ztvf+Qu65hZTYTqI6u5R6SAZ0D9rCLOI3WnJcJbB/1j8O2kcMRWjtXHgPKLPcxGd+X fViA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date; bh=TchdW5sq6+8VlL7IAQLFTv0jqjif8SadgJXqtX63/+w=; b=JTG12ja4Gz5B+sVxCq1YR83NwuBUjD1jph3TpEa6ABPNkAKiElWIaUi0WP54gRRMQm uxzd02GHEN+xHa8biwJZmAl6uyM6xU3fVQiKrAZgffc71z95voc9/ncGgCc+75SWhr1m YYEz6R7bQnZLOC7terQpcVD7KbNWwd6heiEh3PBxQvoyCV9NU/uT7ymIIsoLiIQuiqgn rHR0H2OjKjjYL4jjqsftvOtCKXUZTz0pfZclnw7Esd4rSY6do+9eeK6W4VUZQBEppEZF +o481bQ+dtsBSDcU9w5j6qzPSrRa3vwmokmzjj/4tNBKyIbit4MGcomy74+vj8WPF/yF FF/w== 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 z1si117535otq.21.2020.01.07.08.16.16; Tue, 07 Jan 2020 08:16:38 -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 S1728361AbgAGQPh (ORCPT + 99 others); Tue, 7 Jan 2020 11:15:37 -0500 Received: from fieldses.org ([173.255.197.46]:53600 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728020AbgAGQPh (ORCPT ); Tue, 7 Jan 2020 11:15:37 -0500 Received: by fieldses.org (Postfix, from userid 2815) id 6F49C153E; Tue, 7 Jan 2020 11:15:36 -0500 (EST) Date: Tue, 7 Jan 2020 11:15:36 -0500 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: <20200107161536.GA944@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lfr7fu9v.fsf@notabene.neil.brown.name> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org 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 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.