From: Patrick Donnelly Date: Tue, 14 Nov 2023 18:19:47 +0000 (-0500) Subject: mds: add more information to debug message X-Git-Tag: testing/wip-root-testing-20240411.174241~89^2~44 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cc2179da226d31bbcc6d94390ef663f259f936e5;p=ceph-ci.git mds: add more information to debug message Signed-off-by: Patrick Donnelly (cherry picked from commit f8a26a61305ba8b9fbb9ce47b5221e3adb754c9b) --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 598452c32fd..186882caed1 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -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(*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);