Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2783955ybx; Fri, 8 Nov 2019 09:15:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxxemhsfkEVumLur8EYAZu6m/yIMRVsv15WIjr4R4+NUpnb1k+EGO11+nIZJwDKbpetkKPe X-Received: by 2002:a50:8871:: with SMTP id c46mr11575491edc.24.1573233349957; Fri, 08 Nov 2019 09:15:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573233349; cv=none; d=google.com; s=arc-20160816; b=cI9EhT8bUa2wq/Vee77ugnzaTqO/5zfNhqjmzUINnUyzbKbvw1V1ilx44FcHMvQHnp elGR2yyvNHV9JXBgR0pebGg8cQOam/a7VE6X0esCFJRf0fiRApxu3Evs/xFzxyTMkh5M LIlHnl58gnBC/AiCDBnXQv3Xj67dBFjD+Jlt7MysjSe55bFdPQxTzHnw3Uohn1Xddy2c q/SvpjhXuN0yEJM27WLQ+gQ9dKuM8q0vREtWuyOq6fkhIG9Cj4ndzl3S1p6/+BgQFds2 2fZ4Rvq/W/AF64ivAxSyZcAZI/AiEcciqwn1/SjIpA+DjIDIxqEKgVqBSSxB4Twz4u4m 8yhA== 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=zfQUSJBPHKNLJqghmHMYIqpENUY8JqNdeoZiYVDxc+Y=; b=MPk8KnYwSTDgjkitADUKgzdUfenlBChTnFhUa5BCIzETM+Ry9JLAPsQnABnBPrZ5Km wb+QnMXnU9C7aicpuukA9OBwERe34XqhMWp8F2NEODgWqybgE7tij/MYZRnaCMhW8oii vTeWed5U/meQp0P9LPpXfZMlk+8tYbEd74hpS1rvBaE8u3k+m+pRAOGNHC/CFcmfa6NS sNfsQjcPtAwO+tbyU4BE/XTza3r5DVsiQbNWQdz3hXryvH2EgsptaCYyq7fZ+tA4+C4k IXZEKJU5ubQuT3ljv+igtFhuj1B28UUiFie21NPKync7BwoXdcSrbB6FRJoRYxhzYF+3 vmaw== 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 w32si4448929edc.443.2019.11.08.09.15.17; Fri, 08 Nov 2019 09:15:49 -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 S1726819AbfKHRPO (ORCPT + 99 others); Fri, 8 Nov 2019 12:15:14 -0500 Received: from fieldses.org ([173.255.197.46]:36412 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbfKHRPO (ORCPT ); Fri, 8 Nov 2019 12:15:14 -0500 Received: by fieldses.org (Postfix, from userid 2815) id 9779C1CE6; Fri, 8 Nov 2019 12:15:13 -0500 (EST) Date: Fri, 8 Nov 2019 12:15:13 -0500 From: "J. Bruce Fields" To: Olga Kornievskaia Cc: Samy Ascha , linux-nfs Subject: Re: Specific IP per mounted share from same server Message-ID: <20191108171513.GB31528@fieldses.org> References: <5DBD272A-0D55-4D74-B201-431D04878B43@ascha.org> <20191108162927.GA31528@fieldses.org> 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) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Nov 08, 2019 at 12:06:00PM -0500, Olga Kornievskaia wrote: > On Fri, Nov 8, 2019 at 11:29 AM J. Bruce Fields wrote: > > > > On Fri, Nov 08, 2019 at 11:09:10AM -0500, Olga Kornievskaia wrote: > > > Are you going against a linux server? I don't think linux server has > > > the functionality you are looking for. What you are really looking for > > > I believe is session trunking and neither the linux client nor server > > > fully support that (though we plan to add that functionality in the > > > near future). Bruce, correct me if I'm wrong but linux server doesn't > > > support multi-home (multi-node?) > > > > > > The server should have complete support for session and clientid > > trunking and multi-homing. But I think we're just using those words in > > slightly different ways: > > By the full support, I mean neither client not server support trunking > discovery unless that sneaked in when I wasn't looking. That was the > piece that I knew needed to be done for sure. I'd also say that the client supports trunking discovery--in a way, that's the source of the problem here. The client is probing and discovering that the two IP addresses point to the same server, and using that information to share the same connection. That's trunking discovery, to my understanding. > When you say it fully support trunking do you mean it when each nfsd > node runs in its own container, right? No, I mean that we support a client using multiple sessions (clientid trunking), or multiple connections per session (session trunking). > Otherwise, I thought more code would be needed to support the case > presented here. nfsd would need to have a notion of running something > like a cluster node on a particular interface and distinguish between > requests coming from different interface and act accordingly? I guess it'd be possible to do something like that. For now we don't have any plans outside of the namespace/container work. I wouldn't call that trunking support. But I think we agree on what's actually supported and not supported here, we just disagree about the meanings of words like "trunking support". > Client can and will do trunking in case of pNFS to the data servers if > the server presents multiple IPs. Otherwise, we just have nconnect > feature but that doesn't split traffic between different network > paths. Got it, thanks. --b.