From 7f82170821653faf5f34dea553939e73912f70cd Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 14 Apr 2025 21:19:43 +0000 Subject: [PATCH] osd: fix init of op_queue_type_t due to returnable ceph_assert() Fixes: https://tracker.ceph.com/issues/70878 Signed-off-by: Radoslaw Zarzynski --- src/osd/OSD.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 2ea6d25f442..2a819951ae0 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2444,7 +2444,7 @@ OSD::OSD(CephContext *cct_, } else { // This should never happen dout(0) << "Invalid value passed for 'osd_op_queue': " << type << dendl; - ceph_assert(0 == "Unsupported op queue type"); + ceph_abort_msg("Unsupported op queue type"); } } else { static const std::vector index_lookup = { -- 2.47.3