From f8a26a61305ba8b9fbb9ce47b5221e3adb754c9b Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 14 Nov 2023 13:19:47 -0500 Subject: [PATCH] mds: add more information to debug message Signed-off-by: Patrick Donnelly --- src/mds/Server.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5