From: Yingxin Cheng Date: Mon, 29 Jul 2024 08:40:38 +0000 (+0800) Subject: crimson/os/seastore: report outstanding requests per phase X-Git-Tag: v20.0.0~1304^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=19dbe686dcf3cfe32f11583e33d3385e685727df;p=ceph.git crimson/os/seastore: report outstanding requests per phase Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/os/seastore/seastore.cc b/src/crimson/os/seastore/seastore.cc index 68d432d5dd081..f0243bdb853b8 100644 --- a/src/crimson/os/seastore/seastore.cc +++ b/src/crimson/os/seastore/seastore.cc @@ -668,12 +668,18 @@ seastar::future<> SeaStore::report_stats() calc_conflicts(io_total.io_num, io_total.repeat_io_num), calc_conflicts(io_total.read_num, io_total.repeat_read_num), calc_conflicts(io_total.get_bg_num(), io_total.get_repeat_bg_num())); - INFO("trans outstanding: {},{},{},{} per-shard: {:.2f},{:.2f},{:.2f},{:.2f}", + INFO("trans outstanding: {},{},{},{} " + "per-shard: {:.2f}({:.2f},{:.2f},{:.2f},{:.2f},{:.2f}),{:.2f},{:.2f},{:.2f}", io_total.pending_io_num, io_total.pending_read_num, io_total.pending_bg_num, io_total.pending_flush_num, (double)io_total.pending_io_num/seastar::smp::count, + (double)io_total.starting_io_num/seastar::smp::count, + (double)io_total.waiting_collock_io_num/seastar::smp::count, + (double)io_total.waiting_throttler_io_num/seastar::smp::count, + (double)io_total.processing_inlock_io_num/seastar::smp::count, + (double)io_total.processing_postlock_io_num/seastar::smp::count, (double)io_total.pending_read_num/seastar::smp::count, (double)io_total.pending_bg_num/seastar::smp::count, (double)io_total.pending_flush_num/seastar::smp::count);