From: Shengjing Zhu Date: Sat, 10 Mar 2018 14:36:31 +0000 (+0800) Subject: fix various spelling errors X-Git-Tag: archive/raspbian/12.2.11+dfsg1-2+rpi1^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2d391ae5c999dcb6d086fd6221949657f35d59ca;p=ceph.git fix various spelling errors Forwarded: https://github.com/ceph/ceph/pull/20831 Gbp-Pq: Name 0010-fix-various-spelling-errors.patch --- diff --git a/doc/man/8/ceph-bluestore-tool.rst b/doc/man/8/ceph-bluestore-tool.rst index f5e5fe2b8..4bb108212 100644 --- a/doc/man/8/ceph-bluestore-tool.rst +++ b/doc/man/8/ceph-bluestore-tool.rst @@ -97,7 +97,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/doc/man/8/ceph-detect-init.rst b/doc/man/8/ceph-detect-init.rst index c409a949d..cbfcbeb2c 100644 --- a/doc/man/8/ceph-detect-init.rst +++ b/doc/man/8/ceph-detect-init.rst @@ -34,7 +34,7 @@ Options .. option:: --default INIT - If the init system of the host operating system is unkown, return + If the init system of the host operating system is unknown, return the value of *INIT* instead of failing with an error. .. option:: --verbose diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index f61047d98..deeaf3a86 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -257,7 +257,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 @@ -398,7 +398,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 75d236d10..5349296f6 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 fba47d460..935f58b2f 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -2532,7 +2532,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; @@ -2542,7 +2542,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; } @@ -2552,7 +2552,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 828697758..2f5caa906 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1558,7 +1558,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 231a7651b..6c1826710 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5186,7 +5186,7 @@ std::vector