Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1405090ybi; Thu, 30 May 2019 17:15:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMGCI3NsmJjqWGzSLHyOIfGhqNtNIm9otwPWxXrqEq7gkVGy7EB2SGPPE5GWxEl1URcIQB X-Received: by 2002:a63:4f16:: with SMTP id d22mr6202036pgb.148.1559261754129; Thu, 30 May 2019 17:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559261754; cv=none; d=google.com; s=arc-20160816; b=hRJYiOUg2AWo8Fa++8GMJe0iZO9DB94N8/MckhlIM0M2PZTTfaiGwOsN0bdvoTjXpH IVOXXF6gZ/9T8537qDP4+9DImprSZV/I4YNSvfTUXW/X0TGmD9TrQHGHsIxqsue6iPXx zBqqUIbc9zILPCniKMb3EYb2pzf6BpKOWQcyo2Ko54HlCCzpnQF0kVqyPG267TJmdYTT rH2GzIU81kD+r4A6U8Tf9ZfBJ3NnudzRAdAzb2frJIfG3TTGoN5rT9gdgMRXUmgzeG44 puBJ58W5SH+HvxM7Gquamtrv4oIxUTgnSlAPVijQhsDRo+HBCoYae50wzNMmoxQXcTjH jC1g== 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=RuCUn4KpDAVxCebPPsiCwD66IU3nYrZhUtg9oEaUD6s=; b=vFm16ntuFrQXvk8bndFptKyPfL7cfwQBCMTKlez5qZNHRsk3GKED0D6Wap+WjIkRPZ 39CGrkrwJlf6YVFAa0abZKeJX+3HWY8vF+c8bG90NISYLLgbNgs2MloMeY4TWw82Od3k f7kR44R075rQ/Tcps5JjTL49VZ4Eprsc8HAKMrhXNBBVIfQaZKfTKp+MhDWARZO2voz+ JMnjjRnHMFC1hFURGLeszFVAFyQNC3h9AdQmW3zRsYXrlxA4XYjG3mf4aeZfICTDYEgs HLFwaEL5Dfzo1BwRJp2B/904QT07oSuI38LRrbJfB/XbOL/ofRKp+3BAHNB0zPvWxuKJ EGpg== 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 d7si5004173pfq.57.2019.05.30.17.15.28; Thu, 30 May 2019 17:15:54 -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; 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 S1726131AbfEaAP0 (ORCPT + 99 others); Thu, 30 May 2019 20:15:26 -0400 Received: from fieldses.org ([173.255.197.46]:41360 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfEaAP0 (ORCPT ); Thu, 30 May 2019 20:15:26 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 209C32011; Thu, 30 May 2019 20:15:26 -0400 (EDT) Date: Thu, 30 May 2019 20:15:26 -0400 To: Rick Macklem Cc: Olga Kornievskaia , Tom Talpey , NeilBrown , Chuck Lever , Schumaker Anna , Trond Myklebust , linux-nfs Subject: Re: [PATCH 0/9] Multiple network connections for a single NFS mount. Message-ID: <20190531001526.GB24802@fieldses.org> References: <155917564898.3988.6096672032831115016.stgit@noble.brown> <1df23ebc-ffe5-1a57-c40a-d5e9a45c8498@talpey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, May 30, 2019 at 11:53:19PM +0000, Rick Macklem wrote: > The FreeBSD DRC code for NFS over TCP expects the retry to be from a > different port# (due to a new connection re: the above) for NFSv4.0. > For NFSv3, my best recollection is that it doesn't care what the > source port# is. (It basically uses a hash on the RPC request > excluding TCP/IP header to recognize possible duplicates.) > > I don't know what other NFS servers choose to do w.r.t. the DRC for > NFS over TCP, however for some reason I thought that the Linux knfsd > only used a DRC for UDP? (Someone please clarify this.) The knfsd DRC is used for TCP as well as UDP. It does take into account the source port. I don't think we do any TCP-specific optimizations though I agree that they sound like a good idea. --b.