Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp707426pxj; Thu, 10 Jun 2021 10:40:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx44XhAnohyUvE+e2CaztywtUYj6KAnCcr22PAGwZMhMfSy7jg0zY/SWkZ+hnHc5dgKTvTU X-Received: by 2002:a17:906:af7b:: with SMTP id os27mr730318ejb.154.1623346841480; Thu, 10 Jun 2021 10:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623346841; cv=none; d=google.com; s=arc-20160816; b=gfuIbbvN06aQnwXuNPtWHe6XsxywFFyU7aQ69dbLjneUlpiYOKS4tORBPTZ7hvg+Bq U1IpxixaQvUmaMo8b9/dZX9cQNuwR3zerm4PY0QKpoCNQDDTwKJ5Vdt/xlgXDH4XSU7j YdiPjksUU3PSloDbYzSCwRp8gQkGcnEvPWj2Rfjq/4uTmTI07QCOmjrV7nwrx4e7sm+0 +7qU5sUpUba94dwzTHnI1u1V9xORlLSMe6YMmb+t6CzaS7OdxX1mGPuf8hgQpA/f9owg sHgP5xtI0tok21EksyO/yCdKk/py5yW+26D+mwCrYE8fC+FwfYVWcbNHQVyiuJmR/Oe3 InbA== 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=DvvRfhsZzjiniGgbWxyGCYQREMiXFzh1htplZR9bBoo=; b=Or/bnH01AOe7nJ6g3NiusDwqjLC2J4bqZ/PIHU2mIAiu2utYuBNktSEAgKfHIODrdv qsHZhf5BFEQbgofHJnJ1BP1Jn2S4rnh7WdVBeubDaP/p/oYflBnvIh+E31zJ858/aBr3 OwagOtgJrPTSFK6ug5ZeJCjQh8hF1gN/BMUyEd1aTeicHFkPfYpQid9FF51O+BcfQ4kS rbBuMhiMYzoj7JPz0y5/pFRI8K8h+Dg2fbFd0sq8qZ8m4CslQ93gkB/kJE3y5qhHgXud 5GcxHI+eiNPtJyJ7/PVjGrBdxEdef+gBlJY87A6RIRhjool3zSzWqsjt6GCPUq8+CQWO wIVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RppxbcQ2; 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 i7si2958653ejo.265.2021.06.10.10.40.17; Thu, 10 Jun 2021 10:40:41 -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=RppxbcQ2; 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 S230117AbhFJRmK (ORCPT + 99 others); Thu, 10 Jun 2021 13:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbhFJRmH (ORCPT ); Thu, 10 Jun 2021 13:42:07 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3541C061574 for ; Thu, 10 Jun 2021 10:39:54 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a11so488738ejf.3 for ; Thu, 10 Jun 2021 10:39:54 -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=DvvRfhsZzjiniGgbWxyGCYQREMiXFzh1htplZR9bBoo=; b=RppxbcQ2ZPIsqRzq7bVBk/X9Obx0GzxwQ/U8SAWZ+vgO+hWou3o7gf52RVaTnVUxym mCmJJZI/4zH0RjhQmgDp610Bgz53b/4nKvebFUICokEi5RNvGBFyWeoHI/roS1pQHoz5 d4tlloIFhPr5YawbvT2FTkJYmlxoDEanO2UZ7tITzCg5mMg9Ngq/qU+kqIf33Wi+EXP9 xN8A/ZVD2u7Iz7xnbXu16ObXWJ7U/sYqVCkLJdBP139btpZaSgm37cQpB5Ife48eZEbI FZCa6rl5jePWXYn4Qr+ANwNeSk08FicvXC0HSRebEh/RUeklZjLbZ7CuSYorjTGYQB8Z 6jXg== 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=DvvRfhsZzjiniGgbWxyGCYQREMiXFzh1htplZR9bBoo=; b=V1MDbit6C2tQga+WJPlOVlnog6Rvt7WAoyOjsMoqfgvSYoRhX3npv7HZO/6WuLvI4B S15wZUXnS/8H4SD9yucN/2Mf/BCzToKlgPJo8zXg4g+PtVG+yCmn5l4K2DRTcCmuTXXV HRpSQ74Q142aH5yCWZW28UiFRR0Jnz1LJ99pO5uZEHmCl2boevSUC5ylzXqKqmyp4F5z ITRAAQPKkXlFShij4nTZH0mz8lYrHTS0/oIydkQJMkN51dCq5hwyF3QIdC+Yyc5//krn eTM9uH6DwxFx4HHGpRGreeWItyJsPUUmSUdm8cTYwsU8wKmXKXpnRJxBNll0C7jq7+vb BsNA== X-Gm-Message-State: AOAM530Tc7mLWsTaPUVD2T18Hqzt0xnsCjeybRY8K3an9nz0x4py4Y2i s4fcFdjVk9EKfk+DIJcsCUu8VDhxkSoq3W9wWgccwfC0Bbc= X-Received: by 2002:a17:907:1c9e:: with SMTP id nb30mr742694ejc.0.1623346793232; Thu, 10 Jun 2021 10:39:53 -0700 (PDT) MIME-Version: 1.0 References: <20210609215319.5518-1-olga.kornievskaia@gmail.com> <9657859a-7e65-0b38-a4c5-3f74d0bdc5e8@redhat.com> In-Reply-To: From: Olga Kornievskaia Date: Thu, 10 Jun 2021 13:39:42 -0400 Message-ID: Subject: Re: [PATCH v2 0/3] don't collapse transports for the trunkable To: Steve Dickson Cc: Trond Myklebust , Anna Schumaker , linux-nfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, Jun 10, 2021 at 1:33 PM Olga Kornievskaia wrote: > > On Thu, Jun 10, 2021 at 9:29 AM Steve Dickson wrote: > > > > Hey! > > > > On 6/9/21 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. > > I'm trying to figure out why this new mount option is needed... > > What is it protecting? What am I missing? > > Hopefully comments on patch3 of this series can help you answer that. I mean patch2. But to answer briefly. It protects not creating too many transports. > > > Plus it needs to be documented.... > > Indeed a man page patch is needed but I was waiting to get a more > commonly accepted version of the code before adding the man page > patch. > > > steved. > > > > > > 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(-) > > > > >