diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-06-08 09:29:06 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-08 11:17:17 -0700 |
commit | d9db06e6ca108cada080de93d3cc25ba2b14becb (patch) | |
tree | a71d38b25db43d30a9e93d1c0f3002e2f75f5eab /xlators/mgmt/glusterd/src/glusterd.h | |
parent | 19f375da5b43f940131623b2f33675aa2b3f5c8a (diff) |
nfs:command to change the transport type of nfs server for volumes of transport tcp, rdma
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2294 (Currently there is no way through cli to make a volume listen on both the transports (socket/rdma))
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2294
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 3411d3d3e40..2ddd830f847 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -171,6 +171,7 @@ typedef enum gf_transport_type_ { GF_TRANSPORT_BOTH_TCP_RDMA, } gf_transport_type; +#define GF_DEFAULT_NFS_TRANSPORT GF_TRANSPORT_RDMA typedef enum gf_rb_status_ { GF_RB_STATUS_NONE, @@ -204,6 +205,7 @@ struct glusterd_volinfo_ { int version; uint32_t cksum; gf_transport_type transport_type; + gf_transport_type nfs_transport_type; dict_t *dict; |