From: Patrick Donnelly Date: Mon, 28 Oct 2024 20:19:25 +0000 (-0400) Subject: client: dump InodeStat from mds X-Git-Tag: v19.2.3~288^2~44 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=69f14fcebc5ff583eae80c9acce95202f1799469;p=ceph.git client: dump InodeStat from mds Signed-off-by: Patrick Donnelly Fixes: https://tracker.ceph.com/issues/66373 (cherry picked from commit 764208ead49cd4f63a518547cedecdb6b7e45aad) Conflicts: src/client/Client.cc: trivial code change --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 2a1a0e16d3e7..2c4cd72cbe4a 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -1015,6 +1015,7 @@ Inode * Client::add_update_inode(InodeStat *st, utime_t from, { Inode *in; bool was_new = false; + ldout(cct, 25) << __func__ << ": " << *st << dendl; if (inode_map.count(st->vino)) { in = inode_map[st->vino]; ldout(cct, 12) << __func__ << " had " << *in << " caps " << ccap_string(st->cap.caps) << dendl; @@ -1574,6 +1575,7 @@ Inode* Client::insert_trace(MetaRequest *request, MetaSession *session) if (reply->head.is_dentry) { dirst.decode(p, features); + ldout(cct, 25) << "insert_trace: " << dirst << dendl; dst.decode(p, features); decode(dname, p); dlease.decode(p, features);