]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: support the Assert test ASOK command
authorRonen Friedman <rfriedma@redhat.com>
Sun, 10 May 2026 12:59:20 +0000 (12:59 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 15 May 2026 10:32:13 +0000 (10:32 +0000)
The command was mostly implemented, but was not fully wired
up to the ASOK command handler. This change adds the necessary
command registration.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/crimson/osd/osd.cc

index 9ad33274b109c9609c903f070ffb83dc1bd3eb9c..1ba7669fef6c30757c9f5c763808d7170fe5eb7b 100644 (file)
@@ -828,6 +828,7 @@ seastar::future<> OSD::start_asok_admin()
       make_asok_hook<DumpPGStateHistory>(std::as_const(pg_shard_manager)));
     asok->register_command(make_asok_hook<DumpMetricsHook>());
     asok->register_command(make_asok_hook<DumpPerfCountersHook>());
+    asok->register_command(make_asok_hook<AssertAlwaysHook>());
     asok->register_command(make_asok_hook<InjectDataErrorHook>(get_shard_services()));
     asok->register_command(make_asok_hook<InjectMDataErrorHook>(get_shard_services()));
     // PG commands