diff --git a/ci/codespell.ignores b/ci/codespell.ignores index c625d1b17a5..af408d0c38a 100644 --- a/ci/codespell.ignores +++ b/ci/codespell.ignores @@ -36,3 +36,6 @@ laf cacl chk falloc +rin +assertIn +checkin diff --git a/src/bio/bio_wal.c b/src/bio/bio_wal.c index 341c893f898..2a3d828f4b8 100644 --- a/src/bio/bio_wal.c +++ b/src/bio/bio_wal.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2018-2023 Intel Corporation. + * (C) Copyright 2018-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -577,7 +577,7 @@ fill_trans_blks(struct bio_meta_context *mc, struct bio_sglist *bsgl, struct ume left = blk_sz - entry_blk.tb_off; /* Current entry block is full, move to next entry block */ if (left < entry_sz) { - /* Zeoring left bytes for csum calculation */ + /* Zeroing left bytes for csum calculation */ if (left > 0) memset(entry_blk.tb_buf + entry_blk.tb_off, 0, left); next_trans_blk(bsgl, &entry_blk); diff --git a/src/client/array/dc_array.c b/src/client/array/dc_array.c index b96bdfa7c94..f15892bb213 100644 --- a/src/client/array/dc_array.c +++ b/src/client/array/dc_array.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2023 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -1646,7 +1646,7 @@ dc_array_io(daos_handle_t array_oh, daos_handle_t th, /* * verify that the dkey is the same as the one we are working on * given the array index, and also compute the number of records - * left in the dkey and the record indexin the dkey. + * left in the dkey and the record index in the dkey. */ rc = compute_dkey(array, array_idx, &num_records, &record_i, &dkey_val); diff --git a/src/client/dfuse/ops/readdir.c b/src/client/dfuse/ops/readdir.c index b8d309758e8..3b7cabf01be 100644 --- a/src/client/dfuse/ops/readdir.c +++ b/src/client/dfuse/ops/readdir.c @@ -388,7 +388,7 @@ dfuse_do_readdir(struct dfuse_info *dfuse_info, fuse_req_t req, struct dfuse_obj /* If there is no seekdir but there is valid cache data then use the cache. * * Directory handles may not have up-to-date values for doh_rd_nextc in some cases - * so perform a seek here if necessairy. + * so perform a seek here if necessary. */ struct dfuse_readdir_c *drc; size_t written = 0; diff --git a/src/control/security/testdata/certs/source.txt b/src/control/security/testdata/certs/source.txt index 9bb8e83e091..dc96fa43aff 100644 --- a/src/control/security/testdata/certs/source.txt +++ b/src/control/security/testdata/certs/source.txt @@ -1 +1 @@ -This tile is here to act as a source file for generating hash and signiture files to test the sign and verify signature functionality. +This tile is here to act as a source file for generating hash and signature files to test the sign and verify signature functionality. diff --git a/src/engine/module.c b/src/engine/module.c index 4ee74235ff5..d43387573e4 100644 --- a/src/engine/module.c +++ b/src/engine/module.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2022 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -246,7 +246,7 @@ dss_module_init_all(uint64_t *mod_facs) /* * first register global tls accessible to all modules, - * it'll be first initialized and last finialized. + * it'll be first initialized and last finalized. */ dss_register_key(&daos_srv_modkey); diff --git a/src/include/daos/tse.h b/src/include/daos/tse.h index b771037e78d..627fe3ad15c 100644 --- a/src/include/daos/tse.h +++ b/src/include/daos/tse.h @@ -40,7 +40,7 @@ typedef struct tse_task { /** struct for a schedule object that is used for tracking a number of tasks */ typedef struct { - /** culmulative result of all task operations - valid after schedule completion */ + /** cumulative result of all task operations - valid after schedule completion */ int ds_result; /** user data associated with the scheduler (completion cb data, etc.) */ diff --git a/src/include/daos_api.h b/src/include/daos_api.h index 005f315add7..eb6e11e93ff 100644 --- a/src/include/daos_api.h +++ b/src/include/daos_api.h @@ -96,7 +96,7 @@ daos_tx_commit(daos_handle_t th, daos_event_t *ev); * Create a read-only transaction from a snapshot. This does not create the * snapshot, but only a read transaction to be able to read from a snapshot * created with daos_cont_create_snap. If the user passes an epoch that is not - * snapshoted, or the snapshot was deleted, reads using that transaction may + * snapshotted, or the snapshot was deleted, reads using that transaction may * get undefined results. * * \param[in] coh Container handle. @@ -190,7 +190,7 @@ daos_anchor_init(daos_anchor_t *anchor, __attribute__((unused)) unsigned int opt * Finalizie an iteratror anchor, free resources allocated * during the iteration. * - * \param[in] anchor Anchor to be finialized + * \param[in] anchor Anchor to be finalized */ static inline void daos_anchor_fini(__attribute__((unused)) daos_anchor_t *anchor) diff --git a/src/include/daos_errno.h b/src/include/daos_errno.h index d8521461663..ad3bf93e5b7 100644 --- a/src/include/daos_errno.h +++ b/src/include/daos_errno.h @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2023 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -190,7 +190,7 @@ extern "C" { ACTION(DER_FETCH_AGAIN, Fetch again) \ /** Hit uncertain DTX, may need to try with other replica. */ \ ACTION(DER_TX_UNCERTAIN, TX status is uncertain) \ - /** Communicatin issue with agent. */ \ + /** Communication issue with agent. */ \ ACTION(DER_AGENT_COMM, Agent communication error) \ /** ID mismatch */ \ ACTION(DER_ID_MISMATCH, ID mismatch) \ diff --git a/src/include/daos_srv/bio.h b/src/include/daos_srv/bio.h index 26b15c4aa13..f0400c764c9 100644 --- a/src/include/daos_srv/bio.h +++ b/src/include/daos_srv/bio.h @@ -1,5 +1,5 @@ /** - * (C) Copyright 2018-2023 Intel Corporation. + * (C) Copyright 2018-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -433,7 +433,7 @@ int bio_nvme_init(const char *nvme_conf, int numa_node, unsigned int mem_size, unsigned int hugepage_size, unsigned int tgt_nr, bool bypass); /** - * Global NVMe finilization. + * Global NVMe finalization. * * \return N/A */ diff --git a/src/include/daos_srv/dtx_srv.h b/src/include/daos_srv/dtx_srv.h index e62dbda43eb..f7be21b2e0e 100644 --- a/src/include/daos_srv/dtx_srv.h +++ b/src/include/daos_srv/dtx_srv.h @@ -118,7 +118,7 @@ struct dtx_handle { /* The count the DTXs in the dth_dti_cos array. */ uint32_t dth_dti_cos_count; - /* The array of the DTXs for Commit on Share (conflcit). */ + /* The array of the DTXs for Commit on Share (conflict). */ struct dtx_id *dth_dti_cos; /** Pointer to the DTX entry in DRAM. */ void *dth_ent; diff --git a/src/object/cli_shard.c b/src/object/cli_shard.c index c7f4fa11a3c..ab60646cf49 100644 --- a/src/object/cli_shard.c +++ b/src/object/cli_shard.c @@ -2288,7 +2288,7 @@ obj_shard_coll_query_cb(tse_task_t *task, void *data) /* * Merge (L4) the results from engine that may be single shard or aggregated results from - * multuple shards from single or multiple engines. + * multiple shards from single or multiple engines. */ D_SPIN_LOCK(&cb_args->obj->cob_spin); rc = daos_obj_query_merge(&oqma); diff --git a/src/object/srv_coll.c b/src/object/srv_coll.c index 3481f2fcd21..2783756df53 100644 --- a/src/object/srv_coll.c +++ b/src/object/srv_coll.c @@ -519,7 +519,7 @@ obj_coll_query_agg_cb(struct dtx_leader_handle *dlh, void *arg) /* * If keys_allocated is not set on current engine, then query for current engine is either * not triggered because of some earlier failure or the query on current engine hit trouble - * and cannot copy the keys. Under such cases, cleanup RPCs instead of merge query resutls. + * and cannot copy the keys. Under such cases, cleanup RPCs instead of merge query results. */ if (unlikely(!otqa->otqa_keys_allocated)) { cleanup = true; diff --git a/src/object/srv_obj.c b/src/object/srv_obj.c index 82d8e3155de..59a7c41a02f 100644 --- a/src/object/srv_obj.c +++ b/src/object/srv_obj.c @@ -2177,7 +2177,7 @@ obj_ioc_begin_lite(uint32_t rpc_map_ver, uuid_t pool_uuid, * 2. The current replica was NOT the old leader if * with the old pool map version. But it becomes * the new leader with the new pool map version. - * In the subsequent modificaiton, it may hit + * In the subsequent modification, it may hit * some 'prepared' DTX when make availability * check, it will return -DER_INPROGRESS that * will cause client to retry. It is possible diff --git a/src/placement/tests/jump_map_place_obj.c b/src/placement/tests/jump_map_place_obj.c index de1b793bc7a..158292e2e34 100644 --- a/src/placement/tests/jump_map_place_obj.c +++ b/src/placement/tests/jump_map_place_obj.c @@ -1119,7 +1119,7 @@ one_is_being_reintegrated(void **state) * so find_reint() and find_addition() might both find * some candidates if there are UP targets in the pool map, * no matter these UP targets are from NEW or DOWNOUT. - * But reintegration and extening will never happen at the + * But reintegration and extending will never happen at the * same time, so it is ok for now. To satisfy the test, * let's set both reint and new number as 1 for now. */ diff --git a/src/tests/ftest/util/pool_security_test_base.py b/src/tests/ftest/util/pool_security_test_base.py index 38536089a39..ac7de7db866 100644 --- a/src/tests/ftest/util/pool_security_test_base.py +++ b/src/tests/ftest/util/pool_security_test_base.py @@ -41,7 +41,7 @@ def modify_acl_file_entry(self, file_name, entry, new_entry): line = line.split("\n")[0] if line == entry: line = new_entry - self.log.info("==>replaceing \n %s with\n %s", entry, new_entry) + self.log.info("==>replacing \n %s with\n %s", entry, new_entry) new_permissions = new_permissions + line + "\n" if entry is None: new_permissions = new_permissions + new_entry + "\n" diff --git a/src/tests/suite/daos_base_tx.c b/src/tests/suite/daos_base_tx.c index d4d30ef7b05..5752ade4fb8 100644 --- a/src/tests/suite/daos_base_tx.c +++ b/src/tests/suite/daos_base_tx.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2019-2023 Intel Corporation. + * (C) Copyright 2019-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -294,7 +294,7 @@ dtx_fetch_committable(void **state, bool punch) /* Reset fail_loc, repeat fetch from any replica. If without specifying * the replica, and if fetch from non-leader hits non-committed DTX, it - * will retry with leader, finially, the expected data will be returned + * will retry with leader, finally, the expected data will be returned * from the leader replica. */ daos_fail_loc_set(0); diff --git a/src/tests/suite/daos_pipeline.c b/src/tests/suite/daos_pipeline.c index b339e40b353..7058ef0ba47 100644 --- a/src/tests/suite/daos_pipeline.c +++ b/src/tests/suite/daos_pipeline.c @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2023 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -1500,7 +1500,7 @@ run_array_pipeline(daos_handle_t coh, daos_handle_t oh, daos_pipeline_t *pipelin /** until anchor is EOF we call pipeline run */ while (!daos_anchor_is_eof(&anchor)) { - /** restorin value for in/out parameters */ + /** restoring value for in/out parameters */ nr_kds = 64; /** trying to read 64 in each iteration */ nr_iods = 1; diff --git a/src/vos/vos_layout.h b/src/vos/vos_layout.h index ca7f26ad540..72459544c27 100644 --- a/src/vos/vos_layout.h +++ b/src/vos/vos_layout.h @@ -1,5 +1,5 @@ /** - * (C) Copyright 2016-2023 Intel Corporation. + * (C) Copyright 2016-2024 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ @@ -82,7 +82,7 @@ enum vos_gc_type { /** Lowest supported durable format version */ #define POOL_DF_VER_1 23 -/** Individual version specific featuers are assigned to a release specific durable +/** Individual version specific features are assigned to a release specific durable * format version number. This allows us to add multiple features in a release cycle * while keeping checks related to the feature rather than the more ambiguous version * number. Each new feature should be assigned to the latest VOS durable format.