Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp28272pxj; Wed, 9 Jun 2021 15:31:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV38Jk8nIEjH66Gz44m6L5iTWZPO2KlDd//CI9ltdTHDrLrJdW24gjioTpDWGYKyOznQ1A X-Received: by 2002:aa7:da81:: with SMTP id q1mr1553457eds.60.1623277912236; Wed, 09 Jun 2021 15:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623277912; cv=none; d=google.com; s=arc-20160816; b=D+vVbHEx7yzSjXeiu0zp7xcUd6vz8bHGg3fwMywH/oZR8pxaIfF4i3E17N50KgHtdL Ik3V7+gRIbYOd5GOjx6beKtS2a38HzOqR3d08uHNTtOZQ+ZjGlPCZaQheP2fqnjadRZI n8Y2d2kowQ2RYc7G99GIrANjFiqAH8cF85uiYyc07KX3tAnPTFk8MGorqiCxOqaWGNUK Yl9426B4GruKuuiBPKTX9eJBnNOPGsT08qBZZtwt+P+foYsOns+HhxEKxTXH7tO8ZAnN qw3pPwzGWY1oP/24F8Ul1Q2gYewo6mq95ergIEYFgXnXmhfrkCwNPHMaUhTB6A5LNNMh LVyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Jviqe5IYvU8JHGz1ejdMFEY6n3hCvLN6L+GbnWYMMks=; b=xfkpCckrFhB5KSH367bOCcWwyaOY0q2AgBpOr0750Rs2oSJpLBM+IcFxaTiHPLmbUr VY1ejSadvKAuQ4gUy+dGAjXDDm2miZ+pZwQz+5XrzBdUm892sJkzirUtsDUJ9PKS+Tkt 13InThHTIa4cdNVp+Uu/vTszZcMNjK85bwY92xoC5qfS+9huCjmq6SNXavs1QabtRgn5 94zk6ttEkgqIYJefXS8SkowwUt8MW3Veu1Mh5g1br9YEaFx0tKBI9I5HIdsqorZP8998 lU03LhZLo+VgiBkDGdTYJid+7GWHRZT7xwP69ifS89BqG0KvxppOOwd18nBcXaSU6o7F HBlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cJ3+1Rm/"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f28si820235ejj.326.2021.06.09.15.31.10; Wed, 09 Jun 2021 15:31:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="cJ3+1Rm/"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229548AbhFIW3J (ORCPT + 99 others); Wed, 9 Jun 2021 18:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbhFIW3J (ORCPT ); Wed, 9 Jun 2021 18:29:09 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D16ACC061574 for ; Wed, 9 Jun 2021 15:27:13 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id g8so40819985ejx.1 for ; Wed, 09 Jun 2021 15:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Jviqe5IYvU8JHGz1ejdMFEY6n3hCvLN6L+GbnWYMMks=; b=cJ3+1Rm/SFG5z4gLqDa/lshls+YitVZBgqnWbuhKkB+onbkFvFiX801HWePqtBVFjC +DOP2jx9T9DZA1zHXohSU3GlRNmYEV7xA4HFbsbCFU6vtY8CTk0jQP1lySWQMzYUwlpa 2gpzo5irNk05zxqnJWdP84W+u0bIHRsYzwTITS0HzookvhWABvPOdEbRPHXBNO+Tz7MH sG4w+PaIZDL/SzjXSA8VTmAEhPl4tjKyPc6lm+4KrnM4f2tSva29Lc1qu6MF+98RuX3D Wts17uaN2Vs/eY11IR3+gR06Ipbirn0ZbuHHIaNaJ6+/Lmw52xRPqhB3MuBfCDdeZj+S 4C5A== 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=Jviqe5IYvU8JHGz1ejdMFEY6n3hCvLN6L+GbnWYMMks=; b=qLMo5c20Wjjb41xPMMx8Y8zRLPsPJQ1I8LsNXw+6yO+BMIN/qE6alEQTURfx3GU+Vx rC/m3dm0CXWu7EfYV5T1dEujoCMoVwb3N22/RwtiUg+XuB8aXfmvGuU1f/l/8ZTHq9wM sbYAoThzvOybqpj5kXRwnS5L8Su8ZmHlfy0bTwRM1QoMpJ1tspfBuT9/T6jwO2uLXZCH RSIMcGEUHO3UzPE81dkic4jVzuzV5mqRPYrfsUhsV82vS+rPi/m89R4koTx3BZNzSkz0 LKA7JOhZpj0XFpZL2Ll3n26zCE7JV+YfOGQIiU/TWZbDYC4uUtnjG1Eb9WqV8Et1IYiy dy3g== X-Gm-Message-State: AOAM533Kp6YKKcQ5IeVoDp2pNwMdV8uHT2F3BOmCCgDpkbAa7LCAYT9M eP5R1aDpNp49ukKyft6TE6VzjOEy3kI94P6KGJljlhBbzO8= X-Received: by 2002:a17:906:998c:: with SMTP id af12mr1789298ejc.510.1623277632302; Wed, 09 Jun 2021 15:27:12 -0700 (PDT) MIME-Version: 1.0 References: <20210609215319.5518-1-olga.kornievskaia@gmail.com> In-Reply-To: <20210609215319.5518-1-olga.kornievskaia@gmail.com> From: Olga Kornievskaia Date: Wed, 9 Jun 2021 18:27:01 -0400 Message-ID: Subject: Re: [PATCH v2 0/3] don't collapse transports for the trunkable To: Trond Myklebust , Anna Schumaker Cc: linux-nfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Apologizes, the title got corrupted. The title of the series should be something like : "don't collapse trunkable transports" On Wed, Jun 9, 2021 at 5:53 PM Olga Kornievskaia wrote: > > From: Olga Kornievskaia > > This patch series attempts to allow for new mounts that are to the > same server (ie nfsv4.1+ session trunkable servers) but different > network addresses to use connections associated with those mounts > but still use the same client structure. > > A new mount options, "max_connect", controls how many extra transports > can be added to an existing client, with maximum of 128 transports in > total for either nconnect transports (which are multiple connections > but to the same IP) or transports that are going to different network > addresses. > > Olga Kornievskaia (3): > SUNRPC query xprt switch for number of active transports > NFSv4 introduce max_connect mount options > NFSv4.1+ add trunking when server trunking detected > > fs/nfs/client.c | 1 + > fs/nfs/fs_context.c | 8 +++++++ > fs/nfs/internal.h | 2 ++ > fs/nfs/nfs4client.c | 43 +++++++++++++++++++++++++++++++++++-- > fs/nfs/super.c | 2 ++ > include/linux/nfs_fs_sb.h | 1 + > include/linux/sunrpc/clnt.h | 2 ++ > net/sunrpc/clnt.c | 13 +++++++++++ > 8 files changed, 70 insertions(+), 2 deletions(-) > > -- > 2.27.0 >