From: Shengjing Zhu Date: Sat, 10 Mar 2018 14:36:31 +0000 (+0800) Subject: misc: fix various spelling errors X-Git-Tag: v13.1.0~584^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2cbba835aa9285d6f4e683ec38c4a5c4033c98c0;p=ceph.git misc: fix various spelling errors Signed-off-by: Shengjing Zhu --- diff --git a/doc/man/8/ceph-bluestore-tool.rst b/doc/man/8/ceph-bluestore-tool.rst index 9e732a7abefd..6ac9f97417c7 100644 --- a/doc/man/8/ceph-bluestore-tool.rst +++ b/doc/man/8/ceph-bluestore-tool.rst @@ -96,7 +96,7 @@ device. You can dump the contents of the label with:: The main device will have a lot of metadata, including information that used to be stored in small files in the OSD data directory. The -auxilliary devices (db and wal) will only have the minimum required +auxiliary devices (db and wal) will only have the minimum required fields (OSD UUID, size, device type, birth time). OSD directory priming diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index bcd394871155..816191c5a788 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -258,7 +258,7 @@ def assign_devs(roles, devs): def valgrind_post(ctx, config): """ After the tests run, look throught all the valgrind logs. Exceptions are raised - if textual errors occured in the logs, or if valgrind exceptions were detected in + if textual errors occurred in the logs, or if valgrind exceptions were detected in the logs. :param ctx: Context @@ -399,7 +399,7 @@ def cluster(ctx, config): Mkfs mon nodes. On exit: - If errors occured, extract a failure message and store in ctx.summary. + If errors occurred, extract a failure message and store in ctx.summary. Unmount all test files and temporary journaling files. Save the monitor information and archive all ceph logs. Cleanup the keyring setup, and remove all monitor map and data files left over. diff --git a/qa/tasks/mds_thrash.py b/qa/tasks/mds_thrash.py index 75d236d105e2..5349296f6ab0 100644 --- a/qa/tasks/mds_thrash.py +++ b/qa/tasks/mds_thrash.py @@ -230,7 +230,7 @@ class MDSThrasher(Greenlet): self.do_thrash() except Exception as e: # Log exceptions here so we get the full backtrace (gevent loses them). - # Also allow succesful completion as gevent exception handling is a broken mess: + # Also allow successful completion as gevent exception handling is a broken mess: # # 2017-02-03T14:34:01.259 CRITICAL:root: File "gevent.libev.corecext.pyx", line 367, in gevent.libev.corecext.loop.handle_error (src/gevent/libev/gevent.corecext.c:5051) # File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/gevent/hub.py", line 558, in handle_error diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index d55576f008ec..4556bcc99a8b 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -2500,7 +2500,7 @@ static int rgw_bi_list_op(cls_method_context_t hctx, bufferlist *in, bufferlist bool more; int ret = list_plain_entries(hctx, op.name, op.marker, max, &op_ret.entries, &more); if (ret < 0) { - CLS_LOG(0, "ERROR: %s(): list_plain_entries retured ret=%d", __func__, ret); + CLS_LOG(0, "ERROR: %s(): list_plain_entries returned ret=%d", __func__, ret); return ret; } int count = ret; @@ -2510,7 +2510,7 @@ static int rgw_bi_list_op(cls_method_context_t hctx, bufferlist *in, bufferlist if (!more) { ret = list_instance_entries(hctx, op.name, op.marker, max - count, &op_ret.entries, &more); if (ret < 0) { - CLS_LOG(0, "ERROR: %s(): list_instance_entries retured ret=%d", __func__, ret); + CLS_LOG(0, "ERROR: %s(): list_instance_entries returned ret=%d", __func__, ret); return ret; } @@ -2520,7 +2520,7 @@ static int rgw_bi_list_op(cls_method_context_t hctx, bufferlist *in, bufferlist if (!more) { ret = list_olh_entries(hctx, op.name, op.marker, max - count, &op_ret.entries, &more); if (ret < 0) { - CLS_LOG(0, "ERROR: %s(): list_olh_entries retured ret=%d", __func__, ret); + CLS_LOG(0, "ERROR: %s(): list_olh_entries returned ret=%d", __func__, ret); return ret; } diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index b1d245e42715..8b18c05bb7a4 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1509,7 +1509,7 @@ OPTION(throttler_perf_counter, OPT_BOOL) // enable/disable throttler perf counte /* The following are tunables for torrent data */ OPTION(rgw_torrent_flag, OPT_BOOL) // produce torrent function flag -OPTION(rgw_torrent_tracker, OPT_STR) // torrent field annouce and annouce list +OPTION(rgw_torrent_tracker, OPT_STR) // torrent field announce and announce list OPTION(rgw_torrent_createby, OPT_STR) // torrent field created by OPTION(rgw_torrent_comment, OPT_STR) // torrent field comment OPTION(rgw_torrent_encoding, OPT_STR) // torrent field encoding diff --git a/src/common/options.cc b/src/common/options.cc index 25f70032848d..aced1b52d8fe 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5570,7 +5570,7 @@ std::vector