diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-08-30 08:04:24 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-08-30 06:54:21 -0700 |
commit | 61bed5ef8b8ebda1ffac737a5526b8187852bc2d (patch) | |
tree | 6db95113959831f3d2f96496364500085f3e9770 | |
parent | 06607a4de8c4414bb102d61b9cf6307d8da020bb (diff) |
Add rdma as valid transport type for client and server protocol.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 513 (Introduce 0 copy rdma)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513
-rw-r--r-- | xlators/protocol/client/src/client.c | 2 | ||||
-rw-r--r-- | xlators/protocol/server/src/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index c453b7a24..02479607e 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -1966,7 +1966,7 @@ struct volume_options options[] = { }, { .key = {"transport-type"}, .value = {"tcp", "socket", "ib-verbs", "unix", "ib-sdp", - "tcp/client", "ib-verbs/client"}, + "tcp/client", "ib-verbs/client", "rdma"}, .type = GF_OPTION_TYPE_STR }, { .key = {"remote-host"}, diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 141d5de3e..98a832faf 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -640,7 +640,7 @@ struct xlator_dumpops dumpops = { struct volume_options options[] = { { .key = {"transport-type"}, .value = {"rpc", "rpc-over-rdma", "tcp", "socket", "ib-verbs", - "unix", "ib-sdp", "tcp/server", "ib-verbs/server", + "unix", "ib-sdp", "tcp/server", "ib-verbs/server", "rdma", "rdma*([ \t]),*([ \t])socket", "socket*([ \t]),*([ \t])rdma"}, .type = GF_OPTION_TYPE_STR |