diff options
author | N Balachandran <nbalacha@redhat.com> | 2019-09-20 11:30:45 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-09-23 02:47:32 +0000 |
commit | d654dfa526457dc991ebef66fdecda8f0aac529b (patch) | |
tree | d2c42ccf4328d81dc28ca8ec54ef9f707438a9cc /xlators/mgmt/glusterd/src | |
parent | c7968f601a7cd4f54103f63d8db1f1a268c0ec5b (diff) |
mgmt/glusterd: Fixed typos and reworded logs
Fixed typos and reworded log messages for clarity.
Change-Id: I46f616ce7d3eb993c77a5812e8bc044e5f283354
Fixes: bz#1753859
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 8 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index db17fe6d609..94f6ccf5b55 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -3538,7 +3538,7 @@ glusterd_add_volumes_to_export_dict(dict_t *peer_data, char **buf, } gf_log(this->name, GF_LOG_INFO, - "Finished dictionary popluation in all threads"); + "Finished dictionary population in all threads"); } ret = dict_set_int32n(peer_data, "count", SLEN("count"), volcnt); @@ -3559,11 +3559,11 @@ glusterd_add_volumes_to_export_dict(dict_t *peer_data, char **buf, if (totthread) { gf_log(this->name, GF_LOG_INFO, - "Finished merger of all dictionraies into single one"); + "Merged multiple dictionaries into a single one"); dict_arr[totthread++] = dict_ref(peer_data); ret = glusterd_dict_arr_serialize(dict_arr, totthread, buf, length); - gf_log(this->name, GF_LOG_INFO, - "Serialize dictionary data return is %d", ret); + gf_log(this->name, GF_LOG_INFO, "Serialize dictionary data returned %d", + ret); } out: diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index f7bfaa2ba3e..ac78192d1f9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -610,8 +610,8 @@ validate_volume_per_thread_limit(glusterd_volinfo_t *volinfo, dict_t *dict, if ((val < 5) || (val > 200)) { gf_asprintf( op_errstr, - "Please set this option to a greater than 5 or less than 200 " - "to optimize dict generated while no. of volumes are more"); + "Please set this option to a value between 5 and 200 to" + "optimize processing large numbers of volumes in parallel."); ret = -1; goto out; } @@ -2866,8 +2866,8 @@ struct volopt_map_entry glusterd_volopt_map[] = { .type = GLOBAL_NO_DOC, .description = "This option can be used to limit the number of volumes " - "handled by per thread to populate peer data.The option accepts " - " the value in the range of 5 to 200"}, + "handled per thread to populate peer data.The option accepts " + "values in the range of 5 to 200"}, {.key = GLUSTERD_BRICKMUX_LIMIT_KEY, .voltype = "mgmt/glusterd", .value = GLUSTERD_BRICKMUX_LIMIT_DFLT_VALUE, |