summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-05-05 01:15:09 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-08 06:37:20 -0700
commitdce48d4793d76c38143dc55fe45b30ead12ffbf5 (patch)
treeb05f59cb8737d67bb60c6efdfffaa20d67dd9e1c /xlators
parenta6096217aa96c4ee2fe39977f1d169a33be6fd40 (diff)
Add key/type pair to volume_options.
This avoids warning message to be logged for internal option `transport.socket.lowlat' as not being recognized, when transport/ib-verbs is used. Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 818 (transport.socket.lowlat option is not given as can be seen from the vol-file still the warning shows up in the logs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=818
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/transport/ib-verbs/src/ib-verbs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/protocol/transport/ib-verbs/src/ib-verbs.c b/xlators/protocol/transport/ib-verbs/src/ib-verbs.c
index a252a13d884..c14be17e6e8 100644
--- a/xlators/protocol/transport/ib-verbs/src/ib-verbs.c
+++ b/xlators/protocol/transport/ib-verbs/src/ib-verbs.c
@@ -2609,5 +2609,8 @@ struct volume_options options[] = {
"unix", "inet-sdp" },
.type = GF_OPTION_TYPE_STR
},
+ { .key = {"transport.socket.lowlat"},
+ .type = GF_OPTION_TYPE_BOOL
+ },
{ .key = {NULL} }
};