]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.0: Remove transport protocol name from non-UCS client ID
authorChuck Lever <chuck.lever@oracle.com>
Mon, 4 Jun 2018 14:53:34 +0000 (10:53 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 6 Jun 2018 15:45:52 +0000 (11:45 -0400)
commit97473fb104f36d09c9ad6f6f3f1a8629c5e7ce4e
treedee1e7265f11278789277b75c34d009d5e4de265
parent6e80c6dbe8d92fdb71e503086fe55f7bd79995df
NFSv4.0: Remove transport protocol name from non-UCS client ID

Commit adc0bb51cd2e ("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.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c