From bb5e724ec13cc56668cebed8c47ee5ade59acd45 Mon Sep 17 00:00:00 2001 From: Sohei Koyama Date: Mon, 22 Apr 2024 09:55:17 +0900 Subject: [PATCH] LU-928 misc: fix typos in comments Fix typo obejct -> object. Test-Parameters: trivial Signed-off-by: Sohei Koyama Change-Id: I4ab626ca188166e439191450b48e394243116bef Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54862 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Reviewed-by: Arshad Hussain --- lustre/lfsck/lfsck_layout.c | 2 +- lustre/lod/lod_object.c | 2 +- lustre/lod/lod_qos.c | 4 ++-- lustre/tests/sanity-lfsck.sh | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lustre/lfsck/lfsck_layout.c b/lustre/lfsck/lfsck_layout.c index cf0f336..5a682e3 100644 --- a/lustre/lfsck/lfsck_layout.c +++ b/lustre/lfsck/lfsck_layout.c @@ -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. diff --git a/lustre/lod/lod_object.c b/lustre/lod/lod_object.c index 130d057..031f46c 100644 --- a/lustre/lod/lod_object.c +++ b/lustre/lod/lod_object.c @@ -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 diff --git a/lustre/lod/lod_qos.c b/lustre/lod/lod_qos.c index 3290642..39fbd8d 100644 --- a/lustre/lod/lod_qos.c +++ b/lustre/lod/lod_qos.c @@ -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 diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index f35c93c..0a77b0f 100755 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -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 -- 1.8.3.1