From c01581c92e1fac7603ff7e040053c5e40afbc924 Mon Sep 17 00:00:00 2001 From: Jiffin Tony Thottan Date: Fri, 21 Nov 2014 11:48:46 +0530 Subject: rdma :mount fails for nfs protocol in rdma volumes When we mount rdma only volume or tcp,rdma volume using newly peer probed IP's(nfs-server on new nodes) through nfs protocol, mount fails for rdma only volume and mount happens with help of tcp protocol in the case of tcp,rdma volumes. That is for newly added servers will always get transport type as "socket". This is due to nfs_transport_type is exported correctly and imported wrongly. This can be verified by the following , * Create a rdma only volume or tcp,rdma volume * Add a new server into the trusted pool. * Checkout the client transport type specified nfs-server volgraph.It will be always tcp(socket type) instead of rdma. * And also for rdma only volume in the nfs log, we can see 'connection refused' message for every reconnect between nfs server and glusterfsd. Backport of http://review.gluster.org/8975 cherry picked from commit f380e2029d608f97e3ba9a728605e1d798b09e8d >BUG: 1157381 >Change-Id: I6bd4979e31adfc72af92c1da06a332557b6289e2 >Author: Jiffin Tony Thottan >Signed-off-by: Jiffin Tony Thottan >Reviewed-on: http://review.gluster.org/8975 >Reviewed-by: Meghana M >Reviewed-by: Atin Mukherjee >Reviewed-by: Niels de Vos >Tested-by: Niels de Vos Change-Id: I328c17b07e877fe3b29ca832bf6f2291cea16bbe BUG: 1166505 Reviewed-on: http://review.gluster.org/9172 Tested-by: Gluster Build System Reviewed-by: soumya k Reviewed-by: Raghavendra Bhat --- xlators/mgmt/glusterd/src/glusterd-utils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 63ad1a17a48..d2eab044dc6 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -553,7 +553,6 @@ glusterd_volinfo_dup (glusterd_volinfo_t *volinfo, new_volinfo->dist_leaf_count = volinfo->dist_leaf_count; new_volinfo->sub_count = volinfo->sub_count; new_volinfo->transport_type = volinfo->transport_type; - new_volinfo->nfs_transport_type = volinfo->nfs_transport_type; new_volinfo->brick_count = volinfo->brick_count; dict_copy (volinfo->dict, new_volinfo->dict); -- cgit