From: Sun Yuechi Date: Sun, 28 Jun 2026 10:03:22 +0000 (+0800) Subject: osd: dump_osd_network min section now reports min not max X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e6dee4aac7fb034c62b2f65c6ae864b4326d0aee;p=ceph.git osd: dump_osd_network min section now reports min not max The 'min' section uses sitem.max, which looks like a copy-paste slip; if so, the computed min values would never be emitted. Fixes: https://tracker.ceph.com/issues/77851 Signed-off-by: Sun Yuechi --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 6ee2ec0b8acb..1a5e16d167d9 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -3419,9 +3419,9 @@ will start to track new ops received afterwards."; f->dump_format_unquoted("15min", "%s", fixed_u_to_string(sitem.times[2],3).c_str()); f->close_section(); // average f->open_object_section("min"); - f->dump_format_unquoted("1min", "%s", fixed_u_to_string(sitem.max[0],3).c_str()); - f->dump_format_unquoted("5min", "%s", fixed_u_to_string(sitem.max[1],3).c_str()); - f->dump_format_unquoted("15min", "%s", fixed_u_to_string(sitem.max[2],3).c_str()); + f->dump_format_unquoted("1min", "%s", fixed_u_to_string(sitem.min[0],3).c_str()); + f->dump_format_unquoted("5min", "%s", fixed_u_to_string(sitem.min[1],3).c_str()); + f->dump_format_unquoted("15min", "%s", fixed_u_to_string(sitem.min[2],3).c_str()); f->close_section(); // min f->open_object_section("max"); f->dump_format_unquoted("1min", "%s", fixed_u_to_string(sitem.max[0],3).c_str());