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. > > 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. > > 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. 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. -- Trond Myklebust Linux NFS client maintainer, Hammerspace trond.myklebust@xxxxxxxxxxxxxxx ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥