Whamcloud - gitweb
LU-5710 all: fourth set of corrected typos and grammar errors 06/17306/5
authorFrank Zago <fzago@cray.com>
Fri, 20 Nov 2015 16:51:33 +0000 (10:51 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 18 Dec 2015 05:30:13 +0000 (05:30 +0000)
All the typos are in comments or logs.

Signed-off-by: frank zago <fzago@cray.com>
Change-Id: If7973c31e73759f7e16c6f8d6a93c6453de8cb2b
Reviewed-on: http://review.whamcloud.com/17306
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
15 files changed:
lnet/include/lnet/lib-types.h
lnet/include/lnet/types.h
lnet/klnds/gnilnd/gnilnd_cb.c
lnet/klnds/gnilnd/gnilnd_conn.c
lustre/ChangeLog
lustre/autoconf/lustre-core.m4
lustre/contrib/wireshark/wsconfig.sh
lustre/fid/fid_handler.c
lustre/include/lustre_net.h
lustre/osp/osp_precreate.c
lustre/ptlrpc/nodemap_idmap.c
lustre/quota/qmt_pool.c
lustre/target/tgt_lastrcvd.c
lustre/tests/conf-sanity.sh
lustre/tests/sanity-lfsck.sh

index 1cc79b2..fca5446 100644 (file)
@@ -76,11 +76,11 @@ typedef struct lnet_msg {
        lnet_nid_t              msg_from;
        __u32                   msg_type;
 
        lnet_nid_t              msg_from;
        __u32                   msg_type;
 
-       /* commited for sending */
+       /* committed for sending */
        unsigned int            msg_tx_committed:1;
        /* CPT # this message committed for sending */
        unsigned int            msg_tx_cpt:15;
        unsigned int            msg_tx_committed:1;
        /* CPT # this message committed for sending */
        unsigned int            msg_tx_cpt:15;
-       /* commited for receiving */
+       /* committed for receiving */
        unsigned int            msg_rx_committed:1;
        /* CPT # this message committed for receiving */
        unsigned int            msg_rx_cpt:15;
        unsigned int            msg_rx_committed:1;
        /* CPT # this message committed for receiving */
        unsigned int            msg_rx_cpt:15;
@@ -497,7 +497,7 @@ struct lnet_match_table {
        unsigned int            mt_cpt;
        unsigned int            mt_portal;      /* portal index */
        /* match table is set as "enabled" if there's non-exhausted MD
        unsigned int            mt_cpt;
        unsigned int            mt_portal;      /* portal index */
        /* match table is set as "enabled" if there's non-exhausted MD
-        * attached on mt_mhash, it's only valide for wildcard portal */
+        * attached on mt_mhash, it's only valid for wildcard portal */
        unsigned int            mt_enabled;
        /* bitmap to flag whether MEs on mt_hash are exhausted or not */
        __u64                   mt_exhausted[LNET_MT_EXHAUSTED_BMAP];
        unsigned int            mt_enabled;
        /* bitmap to flag whether MEs on mt_hash are exhausted or not */
        __u64                   mt_exhausted[LNET_MT_EXHAUSTED_BMAP];
@@ -519,7 +519,7 @@ typedef struct lnet_portal {
        unsigned int            ptl_index;      /* portal ID, reserved */
        /* flags on this portal: lazy, unique... */
        unsigned int            ptl_options;
        unsigned int            ptl_index;      /* portal ID, reserved */
        /* flags on this portal: lazy, unique... */
        unsigned int            ptl_options;
-       /* list of messags which are stealing buffer */
+       /* list of messages which are stealing buffer */
        struct list_head        ptl_msg_stealing;
        /* messages blocking for MD */
        struct list_head        ptl_msg_delayed;
        struct list_head        ptl_msg_stealing;
        /* messages blocking for MD */
        struct list_head        ptl_msg_delayed;
index 0ffad86..119da94 100644 (file)
@@ -213,8 +213,8 @@ typedef struct {
 #define LNET_PROTO_PING_MAGIC          0x70696E67 /* 'ping' */
 
 /* Placeholder for a future "unified" protocol across all LNDs */
 #define LNET_PROTO_PING_MAGIC          0x70696E67 /* 'ping' */
 
 /* Placeholder for a future "unified" protocol across all LNDs */
-/* Current LNDs that receive a request with this magic will respond with a
- *  *  * "stub" reply using their current protocol */
+/* Current LNDs that receive a request with this magic will respond
+ * with a "stub" reply using their current protocol */
 #define LNET_PROTO_MAGIC               0x45726963 /* ! */
 
 #define LNET_PROTO_TCP_VERSION_MAJOR   1
 #define LNET_PROTO_MAGIC               0x45726963 /* ! */
 
 #define LNET_PROTO_TCP_VERSION_MAJOR   1
index ab86f2c..5d8e924 100644 (file)
@@ -3072,7 +3072,7 @@ kgnilnd_reaper(void *arg)
                                    next_check_time);
                        mod_timer(&timer, (long) jiffies + timeout);
 
                                    next_check_time);
                        mod_timer(&timer, (long) jiffies + timeout);
 
-                       /* check flag variables before comitting */
+                       /* check flag variables before committing */
                        if (!kgnilnd_data.kgn_shutdown &&
                            !kgnilnd_data.kgn_quiesce_trigger) {
                                CDEBUG(D_INFO, "schedule timeout %ld (%lu sec)\n",
                        if (!kgnilnd_data.kgn_shutdown &&
                            !kgnilnd_data.kgn_quiesce_trigger) {
                                CDEBUG(D_INFO, "schedule timeout %ld (%lu sec)\n",
index 408ca65..7ec96a2 100644 (file)
@@ -2513,8 +2513,9 @@ kgnilnd_dgram_mover(void *arg)
                /* last second chance for others to poke us */
                did_something += xchg(&dev->gnd_dgram_ready, GNILND_DGRAM_IDLE);
 
                /* last second chance for others to poke us */
                did_something += xchg(&dev->gnd_dgram_ready, GNILND_DGRAM_IDLE);
 
-               /* check flag variables before comittingi even if we did something;
-                * if we are after the deadline call schedule */
+               /* check flag variables before committing even if we
+                * did something; if we are after the deadline call
+                * schedule */
                if ((!did_something || time_after(jiffies, deadline)) &&
                    !kgnilnd_data.kgn_shutdown &&
                    !kgnilnd_data.kgn_quiesce_trigger) {
                if ((!did_something || time_after(jiffies, deadline)) &&
                    !kgnilnd_data.kgn_shutdown &&
                    !kgnilnd_data.kgn_quiesce_trigger) {
index b2f1a23..46324a3 100644 (file)
@@ -2953,7 +2953,7 @@ Details      : When then OST is about to be full, if two bulk writing from
             different clients came to OST. Accord the avaliable space of the
             OST, the first req should be permitted, and the second one
             should be denied by ENOSPC. But if the seconde arrived before
             different clients came to OST. Accord the avaliable space of the
             OST, the first req should be permitted, and the second one
             should be denied by ENOSPC. But if the seconde arrived before
-            the first one is commited. The OST might wrongly permit second
+            the first one is committed. The OST might wrongly permit second
             writing, which will cause grant space > available space.
 
 Severity   : normal
             writing, which will cause grant space > available space.
 
 Severity   : normal
index 645d27b..b8285d0 100644 (file)
@@ -89,10 +89,10 @@ LB_CHECK_EXPORT([dev_set_rdonly], [block/ll_rw_block.c block/blk-core.c],
 #
 # LC_STACK_SIZE
 #
 #
 # LC_STACK_SIZE
 #
-# Ensure stack size big than 8k in Lustre server (all kernels)
+# Ensure the stack size is at least 8k in Lustre server (all kernels)
 #
 AC_DEFUN([LC_STACK_SIZE], [
 #
 AC_DEFUN([LC_STACK_SIZE], [
-LB_CHECK_COMPILE([if stack size big than 8k],
+LB_CHECK_COMPILE([if stack size is at least 8k],
 stack_size_8k, [
        #include <linux/thread_info.h>
 ], [
 stack_size_8k, [
        #include <linux/thread_info.h>
 ], [
@@ -636,7 +636,7 @@ EXTRA_KCFLAGS="$tmp_flags"
 #
 # LC_DCACHE_LOCK
 #
 #
 # LC_DCACHE_LOCK
 #
-# 2.6.38 dcache_lock removed. rcu-walk commited.
+# 2.6.38 dcache_lock removed. rcu-walk committed.
 #
 AC_DEFUN([LC_DCACHE_LOCK], [
 LB_CHECK_COMPILE([if 'dcache_lock' is exist],
 #
 AC_DEFUN([LC_DCACHE_LOCK], [
 LB_CHECK_COMPILE([if 'dcache_lock' is exist],
index 7fbe6de..2934468 100644 (file)
@@ -33,7 +33,7 @@
     # Space separate list of RPMs needed to be installed for 
     # compilation of wireshark
 
     # Space separate list of RPMs needed to be installed for 
     # compilation of wireshark
 
-    # Package name(s) (can) vary between differnt distributions
+    # Package name(s) (can) vary between different distributions
     # If distributions 'marked' by same release file, content has to
     # parsed and variable PREREQUISITE_RPMS has to be set accoringly to
     # package name(s) used for each distro.
     # If distributions 'marked' by same release file, content has to
     # parsed and variable PREREQUISITE_RPMS has to be set accoringly to
     # package name(s) used for each distro.
index 98c94f1..9f378a5 100644 (file)
@@ -211,7 +211,7 @@ static int __seq_set_init(const struct lu_env *env,
  *
  * when lss_lowater_set reaches the end it is replaced with hiwater one and
  * a write operation is initiated to allocate new hiwater range.
  *
  * when lss_lowater_set reaches the end it is replaced with hiwater one and
  * a write operation is initiated to allocate new hiwater range.
- * if last seq write opearion is still not commited, current operation is
+ * if last seq write opearion is still not committed, current operation is
  * flaged as sync write op.
  */
 static int range_alloc_set(const struct lu_env *env,
  * flaged as sync write op.
  */
 static int range_alloc_set(const struct lu_env *env,
index f15c3c9..5ba35e3 100644 (file)
@@ -1032,7 +1032,7 @@ struct ptlrpc_request {
        /** bulk match bits */
        __u64                            rq_mbits;
        /**
        /** bulk match bits */
        __u64                            rq_mbits;
        /**
-        * List item to for replay list. Not yet commited requests get linked
+        * List item to for replay list. Not yet committed requests get linked
         * there.
         * Also see \a rq_replay comment above.
         * It's also link chain on obd_export::exp_req_replay_queue
         * there.
         * Also see \a rq_replay comment above.
         * It's also link chain on obd_export::exp_req_replay_queue
index cac5bf2..c03eea9 100644 (file)
@@ -965,7 +965,7 @@ void osp_pre_update_status(struct osp_device *d, int rc)
                                       msfs->os_bfree, used, msfs->os_bavail,
                                       d->opd_pre_status, rc);
                        CDEBUG(D_INFO,
                                       msfs->os_bfree, used, msfs->os_bavail,
                                       d->opd_pre_status, rc);
                        CDEBUG(D_INFO,
-                              "non-commited changes: %lu, in progress: %u\n",
+                              "non-committed changes: %lu, in progress: %u\n",
                               d->opd_syn_changes, d->opd_syn_rpc_in_progress);
                } else if (old == -ENOSPC) {
                        d->opd_pre_status = 0;
                               d->opd_syn_changes, d->opd_syn_rpc_in_progress);
                } else if (old == -ENOSPC) {
                        d->opd_pre_status = 0;
index 91dec43..a03cf82 100644 (file)
@@ -245,7 +245,7 @@ struct lu_idmap *idmap_search(struct lu_nodemap *nodemap,
  *
  * \param      nodemap         nodemap to delete trees from
  *
  *
  * \param      nodemap         nodemap to delete trees from
  *
- * This uses the postorder safe traversal code that is commited
+ * This uses the postorder safe traversal code that is committed
  * in a later kernel. Each lu_idmap strucuture is destroyed.
  */
 void idmap_delete_tree(struct lu_nodemap *nodemap)
  * in a later kernel. Each lu_idmap strucuture is destroyed.
  */
 void idmap_delete_tree(struct lu_nodemap *nodemap)
index 55c6dc2..78e1acb 100644 (file)
@@ -379,7 +379,7 @@ void qmt_pool_fini(const struct lu_env *env, struct qmt_device *qmt)
  * pool which are instantiated in this function.
  *
  * \param env - is the environment passed by the caller
  * pool which are instantiated in this function.
  *
  * \param env - is the environment passed by the caller
- * \param qmt - is the quota master target for which we have to initializa the
+ * \param qmt - is the quota master target for which we have to initialize the
  *              pool configuration
  *
  * \retval - 0 on success, appropriate error on failure
  *              pool configuration
  *
  * \retval - 0 on success, appropriate error on failure
@@ -438,7 +438,7 @@ static int qmt_slv_cnt(const struct lu_env *env, struct lu_fid *glb_fid,
  * Set up on-disk index files associated with each pool.
  *
  * \param env - is the environment passed by the caller
  * Set up on-disk index files associated with each pool.
  *
  * \param env - is the environment passed by the caller
- * \param qmt - is the quota master target for which we have to initializa the
+ * \param qmt - is the quota master target for which we have to initialize the
  *              pool configuration
  * \param qmt_root - is the on-disk directory created for the QMT.
  *
  *              pool configuration
  * \param qmt_root - is the on-disk directory created for the QMT.
  *
@@ -650,7 +650,7 @@ out:
  * Look-up a lquota_entry in the pool hash and allocate it if not found.
  *
  * \param env - is the environment passed by the caller
  * Look-up a lquota_entry in the pool hash and allocate it if not found.
  *
  * \param env - is the environment passed by the caller
- * \param qmt - is the quota master target for which we have to initializa the
+ * \param qmt - is the quota master target for which we have to initialize the
  *              pool configuration
  * \param pool_id   - is the 16-bit identifier of the pool
  * \param pool_type - is the pool type, either LQUOTA_RES_MD or LQUOTA_RES_DT.
  *              pool configuration
  * \param pool_id   - is the 16-bit identifier of the pool
  * \param pool_type - is the pool type, either LQUOTA_RES_MD or LQUOTA_RES_DT.
index 1bb9b9b..1c8f206 100644 (file)
@@ -749,7 +749,7 @@ void tgt_boot_epoch_update(struct lu_target *tgt)
 }
 
 /**
 }
 
 /**
- * commit callback, need to update last_commited value
+ * commit callback, need to update last_committed value
  */
 struct tgt_last_committed_callback {
        struct dt_txn_commit_cb  llcc_cb;
  */
 struct tgt_last_committed_callback {
        struct dt_txn_commit_cb  llcc_cb;
index 1c38538..4d64693 100644 (file)
@@ -52,7 +52,7 @@ init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 
 # use small MDS + OST size to speed formatting time
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 
 # use small MDS + OST size to speed formatting time
-# do not use too small MDSSIZE/OSTSIZE, which affect the default jouranl size
+# do not use too small MDSSIZE/OSTSIZE, which affect the default journal size
 # STORED_MDSSIZE is used in test_18
 STORED_MDSSIZE=$MDSSIZE
 STORED_OSTSIZE=$OSTSIZE
 # STORED_MDSSIZE is used in test_18
 STORED_MDSSIZE=$MDSSIZE
 STORED_OSTSIZE=$OSTSIZE
index 9290efd..e3f0c74 100644 (file)
@@ -4134,7 +4134,7 @@ test_31f() {
        check_mount_and_prep
 
        echo "Inject failure stub on MDT0 to simulate the case that the"
        check_mount_and_prep
 
        echo "Inject failure stub on MDT0 to simulate the case that the"
-       echo "slave MDT-object (that resides on differnt MDT as the master"
+       echo "slave MDT-object (that resides on different MDT as the master"
        echo "MDT-object resides on) lost the LMV EA."
 
        #define OBD_FAIL_LFSCK_LOST_SLAVE_LMV   0x162a
        echo "MDT-object resides on) lost the LMV EA."
 
        #define OBD_FAIL_LFSCK_LOST_SLAVE_LMV   0x162a