Skip to content

Use same proto= after traversing a referral

Chuck Lever linux-nfs linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nfs: Define NFS_RDMA_PORTinclude/uapi/linux/nfs.h+1 -05 replies
2/4nfs: Referrals should use the same proto setting as their parentfs/nfs/nfs4client.c fs/nfs/nfs4namespace.c+20 -53 replies
3/4nfs: Update server port after referral or migrationfs/nfs/nfs4client.c+1 -00 replies
4/4SUNRPC: Remove rpc_protocol()include/linux/sunrpc/clnt.h net/sunrpc/clnt.c+0 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] Use same proto= after traversing a referral

Hi Anna-

Today when the Linux client traverses an NFSv4 referral, it always chooses proto=tcp on the submount. This means following a referral on an NFS/RDMA mount will always make the submounts use TCP, which is not desirable. These patches make the client try NFS/RDMA first when traversing a referral so that submounts will continue to use NFS/RDMA.

Please consider this series for v4.16.

---

Chuck Lever (4):
nfs: Define NFS_RDMA_PORT
nfs: Referrals should use the same proto setting as their parent
nfs: Update server port after referral or migration
SUNRPC: Remove rpc_protocol()

 fs/nfs/nfs4client.c         |   24 +++++++++++++++++++++---
 fs/nfs/nfs4namespace.c      |    2 --
 include/linux/sunrpc/clnt.h |    1 -
 include/uapi/linux/nfs.h    |    1 +
 net/sunrpc/clnt.c           |   16 ----------------
 5 files changed, 22 insertions(+), 22 deletions(-)

--
Chuck Lever
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html