From c0b5cc88687f4f0b25a411b7d0746dcadb297ce3 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Thu, 29 Oct 2009 05:58:37 +0000 Subject: protocol/client: Support for TCP_NODELAY Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 344 (Add support for TCP NODELAY in master) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=344 --- xlators/protocol/client/src/client-protocol.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xlators/protocol/client') 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, -- cgit