Skip to content

Commit 7e19e01

Browse files
committed
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 <[email protected]> (cherry picked from commit 548ee41)
1 parent 7607cff commit 7e19e01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/crimson/osd/osd_operations/client_request.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,13 @@ ClientRequest::interruptible_future<> ClientRequest::with_pg_process_interruptib
180180
pg.wait_for_active_blocker,
181181
&decltype(pg.wait_for_active_blocker)::wait));
182182

183+
DEBUGDPP("{}.{}: waited for active, entering get_obc stage ",
184+
pg, *this, this_instance_id);
185+
183186
co_await ihref.enter_stage<interruptor>(client_pp(pg).get_obc, *this);
184187

188+
DEBUGDPP("{}.{}: entered get_obc stage", pg, *this, this_instance_id);
189+
185190
if (int res = op_info.set_from_op(&*m, *pg.get_osdmap());
186191
res != 0) {
187192
co_await reply_op_error(pgref, res);

0 commit comments

Comments
 (0)