From: "J. Bruce Fields" <bfields@fieldses.org>
To: Daire Byrne <daire@dneg.com>
Cc: linux-nfs <linux-nfs@vger.kernel.org>
Subject: Re: nconnect & repeating BIND_CONN_TO_SESSION?
Date: Sun, 23 Jan 2022 17:42:38 -0500 [thread overview]
Message-ID: <20220123224238.GA9255@fieldses.org> (raw)
In-Reply-To: <CAPt2mGPUa_VHHshXwLLCH=wvdrd6Hyb4gttMeEqKdgFV4GJY7g@mail.gmail.com>
On Sun, Jan 23, 2022 at 09:56:19PM +0000, Daire Byrne wrote:
> On Mon, 10 Jan 2022 at 17:21, J. Bruce Fields <bfields@fieldses.org> wrote:
> > Looks to me like the mount option may just be getting lost on the way
> > down to the rpc client somehow, but I'm not quite sure how it's supposed
> > to work, and a naive attempt to copy what v3 is doing (below) wasn't
> > sufficient.
> >
> > --b.
>
> Should I just open a bugzilla?
Worth a try. It's probably nothing complicated, just a matter of time
to dig into it....
> It would be nice to mount more than 7
> remote v4 servers with nconnect=16.
>
> I did a very quick test of RHEL7 and RHEL8 client kernels and it seems
> like they are doing the right thing with vers=4.2,noresvport.
>
> I suspect it's just more recent kernels that has lost the ability to
> use v4+noresvport
Yes, thanks for checking that. Let us know if you narrow down the
kernel any more.
> (or newer nfs-utils?).
Pretty sure nfs-utils is doing the right thing and passing down the
noresvport option:
# strace -f -etrace=mount mount -overs=4.2,resvport localhost:/ /mnt/
strace: Process 4088 attached
[pid 4088] mount("localhost:/", "/mnt", "nfs", 0, "vers=4.2,resvport,addr=127.0.0.1"...)
--b.
next prev parent reply other threads:[~2022-01-23 22:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-07 12:26 nconnect & repeating BIND_CONN_TO_SESSION? Daire Byrne
2022-01-07 17:17 ` J. Bruce Fields
2022-01-07 17:59 ` Rick Macklem
2022-01-07 18:56 ` J. Bruce Fields
2022-01-07 19:15 ` pynfs regression with nfs4.1 RNM18, RNM19 and RNM20 with ext4 dai.ngo
2022-01-07 19:41 ` Chuck Lever III
2022-01-07 20:01 ` dai.ngo
2022-01-10 9:21 ` nconnect & repeating BIND_CONN_TO_SESSION? Daire Byrne
2022-01-10 14:52 ` J. Bruce Fields
2022-01-10 17:21 ` J. Bruce Fields
2022-01-23 21:56 ` Daire Byrne
2022-01-23 22:42 ` J. Bruce Fields [this message]
2022-01-24 12:33 ` Daire Byrne
2022-02-07 15:21 ` Daire Byrne
2022-02-07 15:53 ` J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220123224238.GA9255@fieldses.org \
--to=bfields@fieldses.org \
--cc=daire@dneg.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).