diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-06-30 09:05:51 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-07-03 12:47:13 +0000 |
commit | a14475fa835289f956af652b6b73ddaeffd4bf18 (patch) | |
tree | 0dcc570a0871dc7ef5efcc69ada6e5618c7883f5 /xlators | |
parent | 89faa4661d1ef66a9f8fe3b79e26bf4505ab6c61 (diff) |
core: assorted typos and spelling mistakes from Debian lintian
Plus minor readability improvements.
Reported-by: pmatthaei@debian.org
Change-Id: I5393819a2fc9f240a19811143bb57b127df717cf
BUG: 1466785
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/17660
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/dht-shared.c | 2 | ||||
-rw-r--r-- | xlators/features/trash/src/trash.c | 5 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 9 |
3 files changed, 9 insertions, 7 deletions
diff --git a/xlators/cluster/dht/src/dht-shared.c b/xlators/cluster/dht/src/dht-shared.c index 0814db3fe18..a75c61190df 100644 --- a/xlators/cluster/dht/src/dht-shared.c +++ b/xlators/cluster/dht/src/dht-shared.c @@ -431,7 +431,7 @@ dht_configure_throttle (xlator_t *this, dht_conf_t *conf, char *temp_str) DHT_MSG_INVALID_OPTION, "Invalid option: Reconfigure: " "rebal-throttle should be {lazy|normal|aggressive}" - " or a number up to number of cores available," + " or a number up to the number of cores available," " not (%s), defaulting to (%d)", temp_str, conf->dthrottle); ret = -1; diff --git a/xlators/features/trash/src/trash.c b/xlators/features/trash/src/trash.c index e321a05a01b..ab01832bb8b 100644 --- a/xlators/features/trash/src/trash.c +++ b/xlators/features/trash/src/trash.c @@ -1889,8 +1889,9 @@ trash_truncate_stat_cbk (call_frame_t *frame, void *cookie, xlator_t *this, */ if (buf->ia_size > (priv->max_trash_file_size) || buf->ia_size <= local->fop_offset) { - gf_log (this->name, GF_LOG_DEBUG, "%s: not moving to trash , " - "having inappropiate file size", local->loc.path); + gf_log (this->name, GF_LOG_DEBUG, + "%s: file is too large to move to trash", + local->loc.path); STACK_WIND (frame, trash_common_unwind_buf_cbk, FIRST_CHILD(this), diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 8d315d606ba..629d18ff507 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -3345,10 +3345,11 @@ struct volopt_map_entry glusterd_volopt_map[] = { .type = DOC, .op_version = GD_OP_VERSION_3_10_0, .validate_fn = validate_parallel_readdir, - .description = "If this option is enabled, the readdir operation is " - "performed parallely on all the bricks, thus improving" - " the performance of readdir. Note that the performance" - "improvement is higher in large clusters" + .description = "If this option is enabled, the readdir operation " + "is performed in parallel on all the bricks, thus " + "improving the performance of readdir. Note that " + "the performance improvement is higher in large " + "clusters" }, { .key = "performance.rda-request-size", .voltype = "performance/readdir-ahead", |