Skip to content

Commit

Permalink
mds: add more information to debug message
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Donnelly <[email protected]>
  • Loading branch information
batrick committed Mar 20, 2024
1 parent 1513327 commit f8a26a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mds/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f8a26a6

Please sign in to comment.