]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/../client_request: add logs around get_obc stage 63233/head
authorMatan Breizman <mbreizma@redhat.com>
Mon, 12 May 2025 11:16:26 +0000 (11:16 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 12 May 2025 11:21:24 +0000 (11:21 +0000)
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 <mbreizma@redhat.com>
src/crimson/osd/osd_operations/client_request.cc

index 06097a8084f45d0d02c97706198230cf4d8fdd49..d32402ab2238976b59f492683f38c18d47ac98ea 100644 (file)
@@ -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<interruptor>(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);