]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src: fix 'recieved' typo across codebase 68083/head
authorLumir Sliva <lumir.sliva@firma.seznam.cz>
Sun, 29 Mar 2026 00:13:11 +0000 (01:13 +0100)
committerLumir Sliva <lumir.sliva@firma.seznam.cz>
Sun, 29 Mar 2026 00:13:11 +0000 (01:13 +0100)
Fix misspelling of 'received' in comments, log messages, and perf
counter descriptions across mon, osd, erasure-code, and common.

Signed-off-by: Lumir Sliva <lumir.sliva@firma.seznam.cz>
src/common/Journald.h
src/erasure-code/clay/ErasureCodeClay.cc
src/mon/Elector.cc
src/osd/ReplicatedBackend.cc
src/osd/osd_perf_counters.cc

index 53dffd4151ff0b6091833f43535bc799fc6cb383..e83e4cc2d8d4717d5f70f94ab910cffa1e4a6372 100644 (file)
@@ -66,7 +66,7 @@ class JournaldLogger {
 };
 
 /**
- * Logger to send cluster log recieved by MON to journald
+ * Logger to send cluster log received by MON to journald
  * 
  * @see JournaldLogger
  */
index 7862ec393163bc3395d5cfedadd1432e8ff48538..3a0ac38af38daf416731118672444ad30387722e 100644 (file)
@@ -551,7 +551,7 @@ int ErasureCodeClay::repair_one_lost_chunk(map<int, bufferlist> &recovered_data,
       }
       ceph_assert(order > 0);
       ordered_planes[order].insert(j);
-      // to keep track of a sub chunk within helper buffer recieved
+      // to keep track of a sub chunk within helper buffer received
       repair_plane_to_ind[j] = plane_ind;
       plane_ind++;
     }
index 30d73b9f8691c32e4aa250000dfd0e21a7745eeb..adc4d36aef9121e05856fbd021943cd5ac2dc5af 100644 (file)
@@ -631,7 +631,7 @@ void Elector::handle_ping(MonOpRequestRef op)
   switch(m->op) {
   case MMonPing::PING:
     {
-      dout(30) << "recieved PING from "
+      dout(30) << "received PING from "
         << prank << ", sending PING_REPLY back!" << dendl;
       MMonPing *reply = new MMonPing(MMonPing::PING_REPLY, m->stamp, peer_tracker.get_encoded_bl());
       m->get_connection()->send_message(reply);
@@ -639,7 +639,7 @@ void Elector::handle_ping(MonOpRequestRef op)
     break;
 
   case MMonPing::PING_REPLY:
-    dout(30) << "recieved PING_REPLY from " << prank << dendl;
+    dout(30) << "received PING_REPLY from " << prank << dendl;
     const utime_t& previous_acked = peer_acked_ping[prank];
     const utime_t& newest = peer_sent_ping[prank];
 
@@ -650,11 +650,11 @@ void Elector::handle_ping(MonOpRequestRef op)
     }
 
     if (m->stamp > previous_acked) {
-      dout(30) << "recieved good PING_REPLY!" << dendl;
+      dout(30) << "received good PING_REPLY!" << dendl;
       peer_tracker.report_live_connection(prank, m->stamp - previous_acked);
       peer_acked_ping[prank] = m->stamp;
     } else {
-      dout(30) << "recieved bad PING_REPLY! it's the same or older "
+      dout(30) << "received bad PING_REPLY! it's the same or older "
         << "than the most recent ack we got." << dendl;
     }
     utime_t now = ceph_clock_now();
index 98730211487b112f8f548f3d00c604880dd2baaa..df7a056d570cf94bd598234e560fd5949bfdf3bc 100644 (file)
@@ -2525,7 +2525,7 @@ void ReplicatedBackend::handle_pull(pg_shard_t peer, PullOp &op, PushOp *reply)
  *
  * @param copy_subset intervals we want
  * @param data_included intervals we got
- * @param data_recieved data we got
+ * @param data_received data we got
  * @param intervals_usable intervals we want to keep
  * @param data_usable matching data we want to keep
  */
index 203990b08739af1128eec85cfbb2d1ee48e2f30c..1018add02ae3f39ab5c92b37d6af56b47cf4bf77 100644 (file)
@@ -248,10 +248,10 @@ PerfCounters *build_osd_logger(CephContext *cct) {
   osd_plb.add_u64_counter(l_osd_map, "map_messages", "OSD map messages");
   osd_plb.add_u64_counter(
     l_osd_full_map_received, "full_map_received",
-    "number of full OSD map recieved via MOSDMap");
+    "number of full OSD map received via MOSDMap");
   osd_plb.add_u64_counter(
     l_osd_inc_map_received, "inc_map_received",
-    "number of incremental OSD map recieved via MOSDMap");
+    "number of incremental OSD map received via MOSDMap");
   osd_plb.add_u64_counter(l_osd_mape, "map_message_epochs", "OSD map epochs");
   osd_plb.add_u64_counter(
     l_osd_mape_dup, "map_message_epoch_dups", "OSD map duplicates");