summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-10-29 05:58:37 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-29 09:23:53 -0700
commitc0b5cc88687f4f0b25a411b7d0746dcadb297ce3 (patch)
tree0ce010a29e6699a45aeb24a4a59b93b5a81a986c /xlators
parent0897c400c0864be252e5d23d41b71779f70eafe4 (diff)
protocol/client: Support for TCP_NODELAY
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 344 (Add support for TCP NODELAY in master) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=344
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/client/src/client-protocol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c
index e503b9d12bf..e82caeb5d6e 100644
--- a/xlators/protocol/client/src/client-protocol.c
+++ b/xlators/protocol/client/src/client-protocol.c
@@ -6063,6 +6063,10 @@ init (xlator_t *this)
this->private = conf;
for (i = 0; i < CHANNEL_MAX; i++) {
+ if (CHANNEL_LOWLAT == i) {
+ dict_set (this->options, "transport.socket.lowlat",
+ data_from_dynstr (strdup ("true")));
+ }
trans = transport_load (this->options, this);
if (trans == NULL) {
gf_log (this->name, GF_LOG_DEBUG,