linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: Trond Myklebust <trondmy@hammerspace.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH v1 2/2] NFSv4.0: Remove transport protocol name from non-UCS client ID
Date: Wed, 6 Jun 2018 12:03:09 -0400	[thread overview]
Message-ID: <8F56FFE7-F5DE-4F22-BA0C-A6C7188435B1@oracle.com> (raw)
In-Reply-To: <6b892b9ad11d33f59de22427092dc41673313fa2.camel@hammerspace.com>



> On Jun 6, 2018, at 11:55 AM, Trond Myklebust <trondmy@hammerspace.com> =
wrote:
>=20
> On Wed, 2018-06-06 at 11:48 -0400, Chuck Lever wrote:
>>> On Jun 6, 2018, at 11:44 AM, Trond Myklebust <trondmy@hammerspace.c
>>> om> wrote:
>>>=20
>>> On Mon, 2018-06-04 at 10:53 -0400, Chuck Lever wrote:
>>>> Commit 69dd716c5ffd ("NFSv4: Add socket proto argument to
>>>> setclientid") (2007) added the transport protocol name to the
>>>> client
>>>> ID string, but the patch description doesn't explain why this was
>>>> necessary.
>>>>=20
>>>> At that time, the only transport protocol name that would have
>>>> been
>>>> used is "tcp" (for both IPv4 and IPv6), resulting in no
>>>> additional
>>>> distinctiveness of the client ID string.
>>>>=20
>>>> Since there is one client instance, the server should recognize
>>>> it's
>>>> state whether the client is connecting via TCP or RDMA. Same
>>>> client,
>>>> same lease.
>>>=20
>>> The reason why this is the case now is because the trunking code
>>> overrides the guardrails in nfs_get_client(). The latter does match
>>> on
>>> the protocol.
>>=20
>> OK. Would that also true in the UCS case?
>>=20
>=20
> Yes, I believe that code is independent of the migration flag.

But the UCS does not include the transport type. Maybe something is
broken here (that something could be my understanding). Seems to me
that could impact transparent state migration between a server that
is mounted with RDMA, and one that has only TCP.

I'm willing to drop 2/2.


--
Chuck Lever




  reply	other threads:[~2018-06-06 16:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 14:53 [PATCH v1 0/2] Improve construction of non-UCS Chuck Lever
2018-06-04 14:53 ` [PATCH v1 1/2] NFSv4.0: Remove cl_ipaddr from non-UCS client ID Chuck Lever
2018-06-04 14:53 ` [PATCH v1 2/2] NFSv4.0: Remove transport protocol name " Chuck Lever
2018-06-06 15:44   ` Trond Myklebust
2018-06-06 15:48     ` Chuck Lever
2018-06-06 15:55       ` Trond Myklebust
2018-06-06 16:03         ` Chuck Lever [this message]
2018-06-06 15:08 ` Fwd: [PATCH v1 0/2] Improve construction of non-UCS Chuck Lever

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=8F56FFE7-F5DE-4F22-BA0C-A6C7188435B1@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trondmy@hammerspace.com \
    /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).