summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-11-09 00:05:31 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-09 02:12:11 -0800
commit19aa7b6923f84ffb8a558263e2dede4661862342 (patch)
tree820263275bd888e85559abe4dc0c9cbb404c510e /rpc/rpc-transport
parent8205e939178ba2253117869024a306442b30d3d1 (diff)
rpc-transport/rdma: set the default quota of recv buffers to 128.
- since quota is returned once the reply is recieved, 32 is too less value. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2060 (Infiniteband errors on large file find) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2060
Diffstat (limited to 'rpc/rpc-transport')
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index 3fae9d795de..22f40e826b3 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -3564,8 +3564,8 @@ rdma_options_init (rpc_transport_t *this)
options->send_size = GLUSTERFS_RDMA_INLINE_THRESHOLD;/*this->ctx->page_size * 4; 512 KB*/
options->recv_size = GLUSTERFS_RDMA_INLINE_THRESHOLD;/*this->ctx->page_size * 4; 512 KB*/
- options->send_count = 32;
- options->recv_count = 32;
+ options->send_count = 128;
+ options->recv_count = 128;
temp = dict_get (this->options,
"transport.rdma.work-request-send-count");