summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-05-01 15:45:09 +0300
committerAtin Mukherjee <amukherj@redhat.com>2019-05-03 06:18:34 +0000
commit0d83a087ddf0fb6b843150c7b801bb10f6fd98db (patch)
treeb8aac53c1c1d3201317a276b08194ab11f7ed8eb /xlators/cluster
parent91c19c50a3c7b336177dda186500568be43626b8 (diff)
glusterd-utils.c: reduce work in glusterd_add_volume_to_dict()
1. Use small arrays, 32 or 64 bytes should suffice. 2. Do not repeat the pattern of snprintf '%s.%d', prefix, count over and over. Change-Id: Ief6de78b766d9a07acb6256fc4830f4f3cfba7c9 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/cluster')
0 files changed, 0 insertions, 0 deletions