]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add more information to debug message
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 14 Nov 2023 18:19:47 +0000 (13:19 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 20 Mar 2024 14:56:53 +0000 (10:56 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/Server.cc

index 598452c32fd428342f97399a169cd0af94ff6dad..186882caed1b953d65c600f6358a7d880b76bfd4 100644 (file)
@@ -2076,13 +2076,13 @@ void Server::respond_to_request(const MDRequestRef& mdr, int r)
   mdr->result = r;
   if (mdr->client_request) {
     if (mdr->is_batch_head()) {
-      dout(20) << __func__ << " batch head " << *mdr << dendl;
+      dout(20) << __func__ << ": batch head " << *mdr << dendl;
       mdr->release_batch_op()->respond(r);
     } else {
      reply_client_request(mdr, make_message<MClientReply>(*mdr->client_request, r));
     }
   } else if (mdr->internal_op > -1) {
-    dout(10) << "respond_to_request on internal request " << mdr << dendl;
+    dout(10) << __func__ << ": completing with result " << cpp_strerror(r) << " on internal " << *mdr << dendl;
     if (!mdr->internal_op_finish)
       ceph_abort_msg("trying to respond to internal op without finisher");
     mdr->internal_op_finish->complete(r);