diff options
author | Sachidananda <sac@gluster.com> | 2010-05-05 01:15:09 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-08 06:37:20 -0700 |
commit | dce48d4793d76c38143dc55fe45b30ead12ffbf5 (patch) | |
tree | b05f59cb8737d67bb60c6efdfffaa20d67dd9e1c /xlators | |
parent | a6096217aa96c4ee2fe39977f1d169a33be6fd40 (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.c | 3 |
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} } }; |