diff options
author | Amar Tumballi <amar@gluster.com> | 2011-02-18 03:34:23 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-22 08:45:43 -0800 |
commit | 3af42dac5fbea3af8d65799fd50300838f2e1d33 (patch) | |
tree | ce2efccdbba727d20096a995ab649ac6eb6905a7 /xlators/protocol/server/src | |
parent | 28bda239100b9eef9b378dac2052a19d7264a51c (diff) |
glusterd/cli: option added to create volume with both transports
to avail the option, enter the volume create command with arguments
'transport tcp,rdma'
and while mounting, on the mountpoints which works on rdma,
do, mount -t glusterfs <IP>:/<VOLNAME>-rdma <MOUNT-POINT>
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.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/protocol/server/src')
-rw-r--r-- | xlators/protocol/server/src/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 7c92441ea89..87e78880fa8 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -829,6 +829,8 @@ struct volume_options options[] = { .value = {"rpc", "rpc-over-rdma", "tcp", "socket", "ib-verbs", "unix", "ib-sdp", "tcp/server", "ib-verbs/server", "rdma", "rdma*([ \t]),*([ \t])socket", + "rdma*([ \t]),*([ \t])tcp", + "tcp*([ \t]),*([ \t])rdma", "socket*([ \t]),*([ \t])rdma"}, .type = GF_OPTION_TYPE_STR }, |