From 7e19e01a7443779cb8e395934baf58a8a256d351 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Mon, 12 May 2025 11:16:26 +0000 Subject: [PATCH] crimson/osd/../client_request: add logs around get_obc stage If this stage is in use by other operation we would keep waiting for it to finish. Add logs before entering the stage and after to keep track of stuck requests. Signed-off-by: Matan Breizman (cherry picked from commit 548ee41a0ab12b70362f264abc5d31ff947a95bd) --- src/crimson/osd/osd_operations/client_request.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/crimson/osd/osd_operations/client_request.cc b/src/crimson/osd/osd_operations/client_request.cc index 06097a8084f..d32402ab223 100644 --- a/src/crimson/osd/osd_operations/client_request.cc +++ b/src/crimson/osd/osd_operations/client_request.cc @@ -180,8 +180,13 @@ ClientRequest::interruptible_future<> ClientRequest::with_pg_process_interruptib pg.wait_for_active_blocker, &decltype(pg.wait_for_active_blocker)::wait)); + DEBUGDPP("{}.{}: waited for active, entering get_obc stage ", + pg, *this, this_instance_id); + co_await ihref.enter_stage(client_pp(pg).get_obc, *this); + DEBUGDPP("{}.{}: entered get_obc stage", pg, *this, this_instance_id); + if (int res = op_info.set_from_op(&*m, *pg.get_osdmap()); res != 0) { co_await reply_op_error(pgref, res); -- 2.47.3