From 2cbba835aa9285d6f4e683ec38c4a5c4033c98c0 Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Sat, 10 Mar 2018 22:36:31 +0800 Subject: [PATCH] misc: fix various spelling errors Signed-off-by: Shengjing Zhu --- doc/man/8/ceph-bluestore-tool.rst | 2 +- qa/tasks/ceph.py | 4 ++-- qa/tasks/mds_thrash.py | 2 +- src/cls/rgw/cls_rgw.cc | 6 +++--- src/common/legacy_config_opts.h | 2 +- src/common/options.cc | 6 +++--- src/java/native/libcephfs_jni.cc | 2 +- src/journal/JournalPlayer.cc | 2 +- src/librbd/image/OpenRequest.cc | 6 +++--- src/librbd/mirror/DisableRequest.cc | 2 +- src/librbd/mirror/EnableRequest.cc | 2 +- src/mds/CDir.cc | 2 +- src/msg/async/PosixStack.cc | 2 +- src/os/bluestore/BlueStore.cc | 2 +- src/os/bluestore/NVMEDevice.cc | 2 +- src/os/bluestore/bluestore_tool.cc | 10 +++++----- src/pybind/rados/rados.pyx | 8 ++++---- src/pybind/rbd/rbd.pyx | 2 +- src/test/objectstore/store_test.cc | 2 +- src/tools/ceph_monstore_tool.cc | 2 +- src/tools/monmaptool.cc | 2 +- src/tools/rbd/action/Journal.cc | 2 +- src/tools/rbd/action/Kernel.cc | 2 +- src/tools/rbd_nbd/rbd-nbd.cc | 2 +- 24 files changed, 38 insertions(+), 38 deletions(-) diff --git a/doc/man/8/ceph-bluestore-tool.rst b/doc/man/8/ceph-bluestore-tool.rst index 9e732a7abef..6ac9f97417c 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 bcd39487115..816191c5a78 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 75d236d105e..5349296f6ab 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 d55576f008e..4556bcc99a8 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 b1d245e4271..8b18c05bb7a 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 25f70032848..aced1b52d8f 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5570,7 +5570,7 @@ std::vector