Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1026382ybi; Thu, 30 May 2019 10:21:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnlH79gX1BoK2aNygjwanlOt/O7rUP93QQTeWqUynpnL5LruaLzLigXJeOAVxmOXmmdIv2 X-Received: by 2002:a62:798b:: with SMTP id u133mr4689940pfc.210.1559236867812; Thu, 30 May 2019 10:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559236867; cv=none; d=google.com; s=arc-20160816; b=aSld2rxRELwRcv1Mqn5XQxI7ggkCKr6Hc7PEXk7I8kFKRvHHz9Fvz7dLsVnNF46nML Hyb7AujZqkfKKOu4Jwoy+KsRlAbvveVMEspfRgLjaFrhotShreYeCHxSNnlc8yXznqrC 2LI836MwYRJ/BEZXK18iFyvA3M0DQMGbMOA5U9lG8VneKNvyY+Zxrm1qxKqdcEMwI7EC ViI20gmubABTkpGdJ2x8L6ByoMYIDj2WXpZBlEBtqgCC+cOZuUhw9FtcsZiXQNWuGfZO koXjxEHlEx5RPeUgUnfcxZUvntacpbOaSsSgzUyBGRDX24DFVbwThq0i8OmLS3CFuCaQ f74Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SRNAe5nZVFzqS2hNrlzK45aRm//CgTikkP457GNe26M=; b=Zd/QN0vt3eEdUm+JN3Hccre5I/leXeh4XZC0wGYuKBqFxd+/u4wC1ExUyd4Nt7Sgeo cKK4hjFvWqYRLBT/u+F/ahXamy5YoHZetojLeVak1VsjlSLBsD3Si0wwM44MjZJuD1ga FU8kFY/ef9H1TW28PUH+QGP+zS08bDMRDKNZkVOFleSHFVPvqdwgLmYRp8e3ZNB1J7+i L+yNg880Dejn7/2JnCG7Bksv8PuJF1DraW/53gPwpZbA23tNJV9OpLtb1gNgPi0Fn0RU xzzfSZH/Tj2kp87hSUfhHBOoRUo+PFtmkuoG+Zkns+ooP4cgVEQ+ImUXJ9EB0gjW1/Vr c71w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b="YlAr9P1/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i96si3931344plb.210.2019.05.30.10.20.52; Thu, 30 May 2019 10:21:07 -0700 (PDT) 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; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b="YlAr9P1/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726280AbfE3RUe (ORCPT + 99 others); Thu, 30 May 2019 13:20:34 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:38212 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725961AbfE3RUe (ORCPT ); Thu, 30 May 2019 13:20:34 -0400 Received: by mail-ua1-f67.google.com with SMTP id r19so2780164uap.5 for ; Thu, 30 May 2019 10:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SRNAe5nZVFzqS2hNrlzK45aRm//CgTikkP457GNe26M=; b=YlAr9P1/p/DYs0V6g/78C+4RUDeVgDKhG0bC36mvKebNa1bos401uaKnOIH4FAT6xo rcimfV5Bcw3bdgmsp8HaNwZvBQckCvSvW5U9O5ngJgCbz/xmY7wIEGJwYC0pybBOFK5O vIjV8S3rHTm154t7wQzLSWlbU8LOGDrb1mZn4luXxu8e2gtrWjVOouoSQz6nih6rymf+ jz/7nZ6LFV0WQUmyYVeWJ9yKEGjXs5thX3yqknp89JVY98HmkFRu/EqlRoJbiI+KzgDI kw8EHCh2hpG59pEuKYDqkAZCN2q6uKfRW2ivdsYsE+UWxgBTMdpvKLb97jBUUq0aBSnF QSpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SRNAe5nZVFzqS2hNrlzK45aRm//CgTikkP457GNe26M=; b=IQKEo33xNd7LHmQu53MZbRcirAAzsIN5NsRPEaa0nI50uUwFE1hYAuHR9/RqXZ9VoO 21kSBnFCdQC+3nGyBKZhiL5pb3vb4iaoiCytLDizQnGG//tSjmtAOcPC11qzyX1kD0LL /5Mruo3VzAhBay8GO6Yorat75xslA54cx3qHgvGBNImECGnghBbbc/7Y/mofS/ipWj4y XMDricXm1uQPdTKh0fSLDRyY+soYXDGBVDA/2mCbpGELTP0p3s5LaPM1UQ1F1f2WV2Fs LfrE3mSNJepQdveUwHbPQuCMtPOcQPlmt3Fe+0IRah2/tGoxGlGBTnDmUpOWh54Y2/p9 Bqfw== X-Gm-Message-State: APjAAAWj2uW1HvsgXIb1Y9iIT1R0OpNhNDU6K5VxIsUra/BEuPVbrwjC O0+w0hnpoClDOAWQLRIayJCUbWch7UARqfkx7xk= X-Received: by 2002:ab0:2447:: with SMTP id g7mr2536361uan.65.1559236833510; Thu, 30 May 2019 10:20:33 -0700 (PDT) MIME-Version: 1.0 References: <155917564898.3988.6096672032831115016.stgit@noble.brown> <1df23ebc-ffe5-1a57-c40a-d5e9a45c8498@talpey.com> In-Reply-To: <1df23ebc-ffe5-1a57-c40a-d5e9a45c8498@talpey.com> From: Olga Kornievskaia Date: Thu, 30 May 2019 13:20:22 -0400 Message-ID: Subject: Re: [PATCH 0/9] Multiple network connections for a single NFS mount. To: Tom Talpey Cc: NeilBrown , Chuck Lever , Schumaker Anna , Trond Myklebust , linux-nfs Content-Type: text/plain; charset="UTF-8" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, May 30, 2019 at 1:05 PM Tom Talpey wrote: > > On 5/29/2019 8:41 PM, NeilBrown wrote: > > I've also re-arrange the patches a bit, merged two, and remove the > > restriction to TCP and NFSV4.x,x>=1. Discussions seemed to suggest > > these restrictions were not needed, I can see no need. > > I believe the need is for the correctness of retries. Because NFSv2, > NFSv3 and NFSv4.0 have no exactly-once semantics of their own, server > duplicate request caches are important (although often imperfect). > These caches use client XID's, source ports and addresses, sometimes > in addition to other methods, to detect retry. Existing clients are > careful to reconnect with the same source port, to ensure this. And > existing servers won't change. Retries are already bound to the same connection so there shouldn't be an issue of a retransmission coming from a different source port. > Multiple connections will result in multiple source ports, and possibly > multiple source addresses, meaning retried client requests may be > accepted as new, rather than having any chance of being recognized as > retries. > > NFSv4.1+ don't have this issue, but removing the restrictions would > seem to break the downlevel mounts. > > Tom. >