summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/libglusterfs.sym
diff options
context:
space:
mode:
authorMohit Agrawal <moagrawal@redhat.com>2019-05-17 19:26:48 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-05-31 14:20:25 +0000
commitf8f09178bb890924a8050b466cc2e7a0a30e35a7 (patch)
tree721b28feb7873a866ce46c2c4bc8e3c590b5d912 /libglusterfs/src/libglusterfs.sym
parentfc49927b5fe06380cab309787d2bd62601fa75c4 (diff)
glusterd: Optimize code to copy dictionary in handshake code path
Problem: While high no. of volumes are configured around 2000 glusterd has bottleneck during handshake at the time of copying dictionary Solution: To avoid the bottleneck serialize a dictionary instead of copying key-value pair one by one Change-Id: I9fb332f432e4f915bc3af8dcab38bed26bda2b9a fixes: bz#1711297 Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to 'libglusterfs/src/libglusterfs.sym')
-rw-r--r--libglusterfs/src/libglusterfs.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/libglusterfs.sym b/libglusterfs/src/libglusterfs.sym
index 93ab05f166a..188cda27bc5 100644
--- a/libglusterfs/src/libglusterfs.sym
+++ b/libglusterfs/src/libglusterfs.sym
@@ -400,6 +400,7 @@ dict_rename_key
dict_reset
dict_serialize
dict_serialized_length
+dict_serialized_length_lk
dict_serialize_value_with_delim
dict_set
dict_setn