Whamcloud - gitweb
LU-928 misc: fix typos in comments 62/54862/4
authorSohei Koyama <skoyama@ddn.com>
Mon, 22 Apr 2024 00:55:17 +0000 (09:55 +0900)
committerOleg Drokin <green@whamcloud.com>
Thu, 2 Jan 2025 20:46:55 +0000 (20:46 +0000)
Fix typo obejct -> object.

Test-Parameters: trivial
Signed-off-by: Sohei Koyama <skoyama@ddn.com>
Change-Id: I4ab626ca188166e439191450b48e394243116bef
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54862
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
lustre/lfsck/lfsck_layout.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/tests/sanity-lfsck.sh

index cf0f336..5a682e3 100644 (file)
@@ -2789,7 +2789,7 @@ static int lfsck_layout_conflict_create(const struct lu_env *env,
 
        rc = lfsck_layout_master_conditional_destroy(env, com, cfid2, ost_idx2);
 
-       /* If the conflict OST-obejct is not created for fixing dangling
+       /* If the conflict OST-object is not created for fixing dangling
         * referenced MDT-object in former LFSCK check/repair, or it has
         * been modified by others, then we cannot destroy it. Re-create
         * a new MDT-object for the orphan OST-object.
index 130d057..031f46c 100644 (file)
@@ -1955,7 +1955,7 @@ out:
  * Allocate a striping on a predefined set of MDTs.
  *
  * Allocates new striping using the MDT index range provided by the data from
- * the lum_obejcts contained in the lmv_user_md passed to this method if
+ * the lum_objects contained in the lmv_user_md passed to this method if
  * \a is_specific is true; or allocates new layout starting from MDT index in
  * lo->ldo_dir_stripe_offset. The exact order of MDTs is not important and
  * varies depending on MDT status. The number of stripes needed and stripe
index 3290642..39fbd8d 100644 (file)
@@ -1097,7 +1097,7 @@ repeat_find:
  * Allocate a specific striping layout on a user defined set of OSTs.
  *
  * Allocates new striping using the OST index range provided by the data from
- * the lmm_obejcts contained in the lov_user_md passed to this method. Full
+ * the lmm_objects contained in the lov_user_md passed to this method. Full
  * OSTs are not considered. The exact order of OSTs requested by the user
  * is respected as much as possible depending on OST status. The number of
  * stripes needed and stripe offset are taken from the object. If that number
@@ -2754,7 +2754,7 @@ static void lod_collect_avoidance(struct lod_object *lo,
 }
 
 /**
- * Create a striping for an obejct.
+ * Create a striping for an object.
  *
  * The function creates a new striping for the object. The function tries QoS
  * algorithm first unless free space is distributed evenly among OSTs, but
index f35c93c..0a77b0f 100755 (executable)
@@ -2580,12 +2580,12 @@ test_18d() {
        cancel_lru_locks osc
 
        echo "Inject failure to make $DIR/$tdir/a1/f1 and $DIR/$tdir/a1/f2"
-       echo "to reference the same OST-object (which is f1's OST-obejct)."
+       echo "to reference the same OST-object (which is f1's OST-object)."
        echo "Then drop $DIR/$tdir/a1/f1 and its OST-object, so f2 becomes"
        echo "dangling reference case, but f2's old OST-object is there."
 
        echo "The failure also makes $DIR/$tdir/a1/f3 and $DIR/$tdir/a1/f4"
-       echo "to reference the same OST-object (which is f3's OST-obejct)."
+       echo "to reference the same OST-object (which is f3's OST-object)."
        echo "Then drop $DIR/$tdir/a1/f3 and its OST-object, so f4 becomes"
        echo "dangling reference case, but f4's old OST-object is there."
        echo
@@ -2695,12 +2695,12 @@ test_18e() {
        cancel_lru_locks osc
 
        echo "Inject failure to make $DIR/$tdir/a1/f1 and $DIR/$tdir/a1/f2"
-       echo "to reference the same OST-object (which is f1's OST-obejct)."
+       echo "to reference the same OST-object (which is f1's OST-object)."
        echo "Then drop $DIR/$tdir/a1/f1 and its OST-object, so f2 becomes"
        echo "dangling reference case, but f2's old OST-object is there."
 
        echo "Also the failure makes $DIR/$tdir/a1/f3 and $DIR/$tdir/a1/f4"
-       echo "to reference the same OST-object (which is f3's OST-obejct)."
+       echo "to reference the same OST-object (which is f3's OST-object)."
        echo "Then drop $DIR/$tdir/a1/f3 and its OST-object, so f4 becomes"
        echo "dangling reference case, but f4's old OST-object is there."
        echo